Function at 0x10008810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100cf8f4
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100f4034]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x70]
xor ebx, ebx
mov dword [esp + 0x24], 0xffffffff
mov byte [esp + 0x70], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x64], ebx
mov eax, dword [0x100f75cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x100f75cc
mov dword [esp + 0x2c], ebx
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
mov byte [esp + 0x64], 1
push eax
mov ecx, ebp
mov dword [esp + 0x38], ebx
call 0xffd9130
lea eax, [esp + 0x28]
lea edi, [esp + 0x20]
mov byte [esp + 0x64], 2
call 0xffd7be0
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100088b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x100088f4
movzx eax, word [esi]
cmp ax, bx
je 0x100088f4
cmp ax, 0x5c
je 0x100088e2
movzx ecx, byte [esi]
push ecx
call dword [0x100d4168]
test eax, eax
jne 0x100088f4
cmp word [esi + 2], 0x3a
jne 0x100088f4
lea edx, [esp + 0x20]
push edx
call 0xffed210
cmp eax, ebx
je 0x10008eee
mov edi, dword [esp + 0x6c]
push ebp
push 0x1026c
lea esi, [edi + 0x4c]
push 0x100d5ff8
push 8
mov eax, esi
mov dword [esp + 0x38], esi
call 0x10070c70
push 0x100f7650
push 8
call 0x100951c2
add esp, 0x18
mov dword [esp + 0x38], eax
cmp eax, ebx
mov byte [esp + 0x64], 3
je 0x10008940
mov esi, eax
call 0xffe0490
mov esi, dword [esp + 0x28]
mov dword [esp + 0x14], eax
jmp 0x10008944
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x64], 5
call 0x1002ae20
mov dword [esp + 0x40], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x40]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x40]
mov dword [eax], eax
mov eax, dword [esp + 0x40]
mov dword [eax + 8], eax
mov dword [esp + 0x44], ebx
mov byte [esp + 0x64], 6
cmp dword [edi + 0x9c], 1
je 0x10008a93
cmp ebp, ebx
je 0x10008a93
cmp word [ebp], bx
je 0x10008a93
mov eax, dword [0x100f7bcc]
cmp eax, ebx
push ebp
jne 0x100089c0
call dword [0x100d45ac]
jmp 0x100089c2
call eax
cmp eax, ebx
je 0x10008a93
push ebp
push 0x10276
push 0x100d5ff8
push 8
mov eax, esi
call 0x10070c70
add esp, 0x10
mov ecx, ebp
call fcn.10021890
mov ebx, eax
neg ebx
sbb ebx, ebx
lea ecx, [esp + 0x3c]
and ebx, 0xfffffffe
push ecx
add ebx, 0x10005
mov byte [esp + 0x68], 5
call 0xffe1110
lea esi, [esp + 0x48]
call 0x100854d0
cmp dword [esp + 0x14], 0
mov byte [esp + 0x64], 1
je 0x10008a24
mov edi, dword [esp + 0x14]
call fcn.1000c130
cmp ebx, 0x10003
mov eax, 0x100d76f4
je 0x10008a36
mov eax, 0x100d5d48
mov esi, dword [esp + 0x28]
push eax
push ebp
push 0x10277
push 0x100d7074
push 8
mov eax, esi
call 0x10070c70
add esp, 0x14
cmp ebx, 0x10003
jne 0x10008d8a
mov edx, dword [esp + 0x6c]
cmp byte [edx + 0x93], 0
jne 0x10008d96
push ebp
push 0x10278
push 0x100d5ff8
push 8
mov eax, esi
mov dword [esp + 0x34], 2
call 0x10070c70
add esp, 0x10
jmp 0x10008eee
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
lea edi, [esp + 0x1c]
lea ebx, [esp + 0x30]
call fcn.1000b440
test eax, eax
jge 0x10008ae8
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x68], 5
call 0xffe1110
lea esi, [esp + 0x48]
call 0x100854d0
cmp dword [esp + 0x14], 0
mov byte [esp + 0x64], 1
je 0x10008eee
mov edi, dword [esp + 0x14]
call fcn.1000c130
jmp 0x10008eee
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
jmp 0x10008b00
cmp dword [esp + 0x1c], 0
je 0x10008c7d
test eax, eax
mov edi, dword [esi]
jne 0x10008b59
test ecx, ecx
jne 0x10008b59
test edi, edi
je 0x10008b59
lea edx, [esp + 0x50]
push edx
push 1
push 0xc
mov dword [esp + 0x54], 1
call dword [0x100d40e8]
push eax
call dword [0x100d401c]
test eax, eax
je 0x10008b41
call dword [0x100d403c]
push edi
call dword [0x100d4000]
test eax, eax
je 0x10008b59
mov eax, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
push ebp
push 0x1026d
push 0x100d5ff8
push 8
mov eax, ebx
call 0x10070c70
add esp, 0x10
test ebp, ebp
je 0x10008b97
cmp word [ebp], 0
je 0x10008b97
mov eax, dword [0x100f7bcc]
test eax, eax
push ebp
jne 0x10008b8d
call dword [0x100d45ac]
jmp 0x10008b8f
call eax
test eax, eax
jne 0x10008c55
call dword [0x100d4230]
push eax
push ebp
push 0x1026f
push 0x100d5f08
push 8
mov eax, ebx
call 0x10070c70
mov eax, dword [esi]
add esp, 0x14
push eax
push ebp
lea edi, [esp + 0x44]
call 0xffe1270
test eax, eax
jne 0x10008c05
cmp dword [esp + 0x4c], eax
je 0x10008bd2
call dword [0x100d403c]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10008bec
push eax
call dword [0x100d4000]
mov ecx, dword [esp + 0x50]
push ecx
call dword [0x100d424c]
xor eax, eax
xor ecx, ecx
add esi, 4
sub dword [esp + 0x1c], 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
jmp 0x10008b00
test ebp, ebp
je 0x10008c28
cmp word [ebp], 0
je 0x10008c28
mov eax, dword [0x100f7bcc]
test eax, eax
push ebp
jne 0x10008c22
call dword [0x100d45ac]
jmp 0x10008c24
call eax
test eax, eax
jne 0x10008c69
push ebp
lea edi, [esp + 0x40]
call 0xffe1440
cmp dword [esp + 0x4c], 0
je 0x10008c3f
call dword [0x100d403c]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10008bec
push eax
call dword [0x100d4000]
mov edx, dword [esp + 0x50]
push edx
jmp 0x10008be6
push ebp
push 0x1026e
push 0x100d5ff8
push 8
mov eax, ebx
jmp 0x100089d9
push ebp
push 0x10270
push 0x100d5ff8
push 8
mov eax, ebx
jmp 0x100089d9
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x9c], 1
je 0x10008d13
push 0x10271
push 0x100d5efc
push 8
mov eax, ebx
call 0x10070c70
add esp, 0xc
push 0
push ebp
lea edi, [esp + 0x44]
call 0xffe1270
push ebp
push 0x10272
push 0x100d5ff8
push 8
mov eax, ebx
call 0x10070c70
add esp, 0x10
mov eax, ebp
call fcn.100217a0
mov esi, eax
test esi, esi
je 0x10008ced
push ebp
push 0x10273
push 0x100d5ff8
push 8
mov eax, ebx
call 0x10070c70
add esp, 0x10
jmp 0x10008d0b
call dword [0x100d4230]
push eax
push ebp
push 0x10274
push 0x100d5f08
push 8
mov eax, ebx
call 0x10070c70
add esp, 0x14
test esi, esi
jne 0x100089e1
push ebp
lea edi, [esp + 0x40]
call 0xffe1440
mov edi, dword [esp + 0x14]
test edi, edi
je 0x10008d2a
call fcn.1000c130
mov esi, dword [esp + 0x7c]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x28]
push 0
push 0xe0e60001
push esi
mov dword [esp + 0x44], 0
call edx
mov edi, dword [esp + 0x6c]
call fcn.10009300
push ebp
push 0x10275
push 0x100d5ff8
push 6
mov eax, ebx
mov dword [esp + 0x34], 2
call 0x10070c70
add esp, 0x10
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x68], 5
call 0xffe1110
lea esi, [esp + 0x48]
call 0x100854d0
jmp 0x10008eee
cmp ebx, 0x10005
je 0x10008d96
xor eax, eax
jmp 0x10008d9a
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
push esi
mov esi, dword [esp + 0x24]
push esi
push eax
mov eax, dword [edx + 0x1c]
push ebx
push ecx
call eax
test eax, eax
jl 0x10008eee
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push 0xffffffffffffffff
push eax
call edx
test eax, eax
jl 0x10008eee
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push 0xffffffffffffffff
push eax
call edx
test eax, eax
jl 0x10008eee
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x1c]
push edx
push 0x100d5a1c
push eax
mov eax, dword [ecx + 0x4c]
call eax
test eax, eax
jl 0x10008eee
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10008e15
mov byte [esp + 0x70], 1
jmp 0x10008e41
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x1c]
push edx
push 0x100d5a1c
push eax
mov eax, dword [ecx + 0x4c]
call eax
test eax, eax
jl 0x10008eee
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10008eee
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x10008eee
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10008eee
cmp byte [esp + 0x70], 0
je 0x10008e75
mov eax, dword [eax + 4]
call fcn.100211e0
test eax, eax
jne 0x10008e86
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push ebp
push eax
call edx
test eax, eax
jl 0x10008eee
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x3c], 0
jne 0x10008ee6
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x6c]
lea edi, [esp + 0x7c]
lea ebx, [esp + 0x70]
call fcn.1000b440
test eax, eax
jl 0x10008eee
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 4]
push edx
lea eax, [esp + 0x3c]
push eax
call 0xfff8480
add esp, 0xc
test eax, eax
jne 0x10008eee
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
push ecx
push eax
call edx
test eax, eax
jl 0x10008eee
mov dword [esp + 0x24], 0
mov byte [esp + 0x64], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008f13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10008f2b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x14