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

Disassembly:
push 0xffffffffffffffff
push 0x4a5d36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push 0x4af1a4
mov dword [esp + 0x6c], 1
mov dword [esp + 0x18], esi
call fcn.0047e9ef
add esp, 4
push eax
push 0x4af1a4
mov ecx, esi
call fcn.00401b00
xor esi, esi
mov ecx, edi
mov dword [edi + 0x10], esi
call fcn.00408670
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x68], 2
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x1c]
push ecx
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x54], esp
mov ebp, esp
push eax
mov byte [esp + 0x7c], 3
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], eax
call fcn.004015e0
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebp], eax
call fcn.00407c20
test eax, eax
jne 0x408abf
mov eax, dword [esp + 0x78]
test eax, eax
mov ebp, dword [esp + 0x2c]
jne 0x4089fc
push esi
push ecx
mov dword [esp + 0x80], esp
mov esi, esp
push ebp
call fcn.004015e0
lea edx, [esp + 0x84]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.00407b20
add esp, 0xc
lea ecx, [edi + 0x14]
push eax
mov byte [esp + 0x6c], 4
call fcn.00402060
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
mov byte [esp + 0x68], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4089fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x4af19c
call fcn.0047e9ef
mov ecx, dword [esp + 0x18]
add esp, 4
push eax
push 0x4af19c
call fcn.00401b00
mov eax, dword [esp + 0x70]
mov esi, dword [eax - 0xc]
add ebx, 0xfffffff0
mov byte [esp + 0x68], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a3e
mov ecx, dword [ebx]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x68], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x68], 0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408a7e
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4091fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
mov ebp, dword [esp + 0x10]
push 0x4af198
push ebp
call fcn.0047e6f7
add esp, 8
test eax, eax
je 0x4090d4
push 0x4af194
push ebp
call fcn.0047e6f7
add esp, 8
test eax, eax
je 0x4090d4
push 0x4af190
push ebp
call fcn.0047e6f7
add esp, 8
test eax, eax
je 0x4090d4
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push esi
push ecx
mov dword [esp + 0x54], esp
mov ebp, esp
push edx
call fcn.004015e0
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebp], eax
call fcn.00407c20
test eax, eax
je 0x40909d
mov ebp, dword [esp + 0x10]
push 0x4af18c
push ebp
call fcn.0047e6f7
add esp, 8
test eax, eax
jne 0x408cb0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x408b72
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x408b72
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], 1
inc esi
jmp 0x408b05
cmp dword [esp + 0x20], 1
jne 0x408fa8
push 0x20
call fcn.00495591
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x68], 6
je 0x408b9f
mov ecx, eax
call fcn.00408700
mov esi, eax
jmp 0x408ba1
xor esi, esi
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov ebp, esp
push eax
mov byte [esp + 0x74], 3
call fcn.004015e0
add eax, 0x10
mov dword [ebp], eax
mov edx, dword [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
push ecx
lea ecx, [esp + 0x84]
mov byte [esp + 0x7c], 7
call fcn.004022c0
mov ecx, esi
mov byte [esp + 0x74], 3
call fcn.004088d0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x408f6a
mov eax, dword [esp + 0x78]
test eax, eax
je 0x408c1d
test esi, esi
je 0x408ca4
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0x18]
lea esi, [ebx + eax]
jmp 0x408b05
mov eax, dword [edi + 0xc]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.00407350
mov eax, dword [eax]
sub eax, 0x10
push eax
mov byte [esp + 0x6c], 9
call fcn.004015e0
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], esi
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [edi + 4]
mov byte [esp + 0x70], 0xa
call fcn.004084b0
lea eax, [ebp - 0x10]
mov byte [esp + 0x68], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x68], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ca4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
lea esi, [ebx + eax]
jmp 0x408b05
push 0x4af190
push ebp
call fcn.0047e6f7
add esp, 8
test eax, eax
je 0x408fb2
push 0x4af188
push ebp
call fcn.0047e6f7
add esp, 8
test eax, eax
jne 0x408d02
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x408fe4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x408fee
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], 1
inc esi
jmp 0x408b05
push 0x4af194
push ebp
call fcn.0047e6f7
add esp, 8
test eax, eax
je 0x408ff8
push 0x4ae7cc
push ebp
call fcn.0047e6f7
add esp, 8
test eax, eax
jne 0x408f4a
mov ecx, dword [esp + 0x18]
push 1
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x7c]
call fcn.00406a90
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push esi
push ecx
mov ecx, eax
mov byte [esp + 0x78], 0xb
call fcn.004022c0
lea edx, [esp + 0x30]
push edx
call fcn.00407b20
add esp, 0xc
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x78]
test eax, eax
mov dword [esp + 0x30], eax
jne 0x408e31
mov eax, dword [esp + 0x74]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x408e31
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x44]
push 0x4af188
push edx
call fcn.00402480
push 0x4af194
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x80], 0xe
call fcn.004023c0
mov eax, dword [eax]
add esp, 0x18
test eax, eax
jne 0x408de1
or eax, 0xffffffff
jmp 0x408e08
mov esi, dword [esp + 0x74]
mov ecx, dword [esi - 0xc]
test ecx, ecx
jge 0x408df1
or eax, 0xffffffff
jmp 0x408e08
push eax
push esi
call fcn.0047e729
add esp, 8
test eax, eax
jne 0x408e04
or eax, 0xffffffff
jmp 0x408e08
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
lea ecx, [esp + 0x3c]
sete bl
call fcn.004017e0
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0xd
call fcn.004017e0
test bl, bl
je 0x408e31
mov dword [esp + 0x30], 1
push 0x20
call fcn.00495591
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x68], 0xf
je 0x408e53
mov ecx, eax
call fcn.00408700
mov esi, eax
jmp 0x408e55
xor esi, esi
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
push ebx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov ebp, esp
push eax
mov byte [esp + 0x74], 0xd
mov dword [esp + 0x50], esi
call fcn.004015e0
add eax, 0x10
mov dword [ebp], eax
mov ecx, dword [esp + 0x24]
inc ecx
mov edx, esp
mov dword [esp + 0x54], esp
push ecx
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0x7c], 0x10
call fcn.004022c0
mov ecx, esi
mov byte [esp + 0x74], 0xd
call fcn.004088d0
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40905d
test ebx, ebx
je 0x408ec4
test esi, esi
je 0x408f0d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x408f0d
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x60]
call fcn.00406b20
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [edi + 4]
mov byte [esp + 0x70], 0x12
call fcn.004084b0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408f0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x28]
call fcn.00401520
mov eax, dword [esp + 0x18]
lea esi, [eax + ebp + 1]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x68], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x408b05
push 0x4af198
push ebp
call fcn.0047e6f7
add esp, 8
test eax, eax
jne 0x408b05
mov esi, dword [esp + 0x18]
inc esi
jmp 0x408b05
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.00406d40
mov ecx, dword [esp + 0x14]
push eax
mov byte [esp + 0x6c], 8
call fcn.00402820
lea ecx, [esp + 0x78]
mov byte [esp + 0x68], 3
call fcn.004017e0
test esi, esi
je 0x4090ab
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
jmp 0x4090ab
push 0x4af174
jmp 0x4090a2
mov eax, dword [esp + 0x24]
mov esi, 1
cmp eax, esi
jne 0x408fda
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x408fda
mov ecx, dword [esp + 0x14]
push 0x4af19c
call fcn.00403370
mov dword [edi + 0x10], esi
jmp 0x40901f
push 0x4af164
jmp 0x4090a2
push 0x4af150
jmp 0x4090a2
push 0x4af13c
jmp 0x4090a2
mov eax, dword [esp + 0x24]
test eax, eax
mov ecx, dword [esp + 0x14]
je 0x40900e
push 0x4af124
jmp 0x4090a6
push 0x4af19c
mov dword [edi + 0x10], 2
call fcn.00403370
lea ecx, [esp + 0x1c]
call fcn.004017e0
lea ecx, [esp + 0x10]
call fcn.004017e0
lea ecx, [esp + 0x70]
call fcn.004017e0
lea ecx, [esp + 0x74]
call fcn.004017e0
mov eax, dword [esp + 0x18]
inc eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.00406d40
mov ecx, dword [esp + 0x14]
push eax
mov byte [esp + 0x6c], 0x11
call fcn.00402820
lea ecx, [esp + 0x78]
mov byte [esp + 0x68], 0xd
call fcn.004017e0
test esi, esi
je 0x409092
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
lea ecx, [esp + 0x28]
call fcn.004017e0
jmp 0x4090ab
push 0x4af118
mov ecx, dword [esp + 0x18]
call fcn.00403370
lea ecx, [esp + 0x1c]
call fcn.004017e0
lea ecx, [esp + 0x10]
call fcn.004017e0
lea ecx, [esp + 0x70]
call fcn.004017e0
lea ecx, [esp + 0x74]
call fcn.004017e0
jmp 0x4092b4
mov esi, dword [esp + 0x18]
push ecx
mov eax, esp
mov dword [esp + 0x4c], esp
push esi
push eax
lea ecx, [esp + 0x7c]
call fcn.00406a90
call fcn.004069c0
add esp, 4
test eax, eax
je 0x409214
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x40915d
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x80], esp
push esi
push ecx
lea ecx, [esp + 0x80]
call fcn.00406a90
lea edx, [esp + 0x80]
push edx
call fcn.00407b20
add esp, 0xc
lea ecx, [edi + 0x14]
push eax
mov byte [esp + 0x6c], 5
call fcn.00402060
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
mov byte [esp + 0x68], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40915d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x4af19c
call fcn.0047e9ef
mov ecx, dword [esp + 0x18]
add esp, 4
push eax
push 0x4af19c
call fcn.00401b00
add ebx, 0xfffffff0
mov byte [esp + 0x68], 2
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409198
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x68], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4091b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x68], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4091d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4091fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
push 0x4af108
call fcn.0047e9ef
mov ecx, dword [esp + 0x18]
add esp, 4
push eax
push 0x4af108
call fcn.00401b00
add ebx, 0xfffffff0
mov byte [esp + 0x68], 2
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40924f
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x68], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40926e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x68], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40928e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4092b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 0xc