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

Disassembly:
push 0xffffffffffffffff
push 0x427bf7
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43bafc]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov ebx, 1
mov byte [esp + 0x98], bl
mov eax, dword [edi + 0x24]
mov ebp, dword [0x42d4e8]
push esi
push esi
push 0x1009
push eax
call ebp
lea ecx, [edi + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040a580
mov byte [esp + 0x98], 2
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
push ecx
call fcn.00420750
add esp, 0xc
mov ecx, dword [esp + 0x28]
xor edx, edx
cmp ecx, edx
je 0x40b49d
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x40b49d
mov ecx, dword [ecx + esi*4]
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x68]
push eax
push edx
mov dword [esp + 0x84], ecx
mov ecx, dword [edi + 0x24]
push 0x1007
push ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edx
call ebp
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40b338
mov ecx, dword [esp + 0x2c]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x40b342
call dword [0x42d278]
mov eax, dword [esp + 0x28]
lea eax, [eax + esi*4]
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0040ac40
add esp, 0xc
mov byte [esp + 0x98], 3
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push ecx
push 0
push eax
call dword [0x42d06c]
mov byte [esp + 0x98], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b398
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x43bebc]
mov eax, dword [edx + 0xc]
mov ecx, 0x43bebc
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x98], 6
mov ecx, dword [esp + 0x64]
push ecx
lea edx, [esp + 0x18]
push 0x42d8f4
push edx
call fcn.0040ad70
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0041fdd0
add esp, 0x14
mov byte [esp + 0x98], 7
mov ecx, dword [eax]
xor eax, eax
lea edx, [esp + 0x68]
push edx
push eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov eax, dword [edi + 0x24]
push 0x1006
push eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x8c], ecx
call ebp
mov byte [esp + 0x98], 6
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 0x40b46e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x98], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b496
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, ebx
jmp 0x40b2a8
mov byte [esp + 0x98], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or esi, 0xffffffff
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x40b4c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edx, edx
mov byte [esp + 0x98], 0
mov eax, dword [esp + 0x28]
cmp eax, edx
je 0x40b4fa
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x28]
push edx
push ecx
push eax
call fcn.0040abc0
mov edx, dword [esp + 0x38]
push edx
call fcn.00425c2c
add esp, 0x14
xor edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x38]
cmp eax, edx
je 0x40b53d
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x38]
push edx
push ecx
push eax
call fcn.0040abc0
mov edx, dword [esp + 0x48]
push edx
call fcn.00425c2c
add esp, 0x14
xor edx, edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret