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

Disassembly:
push 0xffffffffffffffff
push 0x444ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x457750]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
lea eax, [edi + 0x78]
push eax
lea esi, [edi + 0x7c]
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.00409160
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x30]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov ebx, esp
push eax
call fcn.00403430
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.00403960
add esp, 4
test eax, eax
jne 0x40802e
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408027
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x408393
mov ebp, dword [edi + 0xa4]
cmp dword [edi + 0xa0], ebp
lea ebx, [edi + 0x9c]
jbe 0x408047
call fcn.0042ba82
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x408054
call fcn.0042ba82
push ebp
push ebx
push edi
push ebx
lea ecx, [esp + 0x48]
push ecx
call fcn.00409910
mov edi, dword [esp + 0x54]
cmp dword [edi + 0x88], 0
jne 0x408090
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x408382
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00403430
add esp, 4
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x4c], 1
mov eax, dword [edi + 0x94]
mov eax, dword [eax]
lea ebx, [edi + 0x90]
mov esi, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], esi
test ebx, ebx
mov ebp, dword [edi + 0x94]
lea eax, [edi + 0x90]
je 0x4080d6
cmp ebx, eax
je 0x4080db
call fcn.0042ba82
cmp esi, ebp
je 0x408341
test ebx, ebx
jne 0x4080ec
call fcn.0042ba82
cmp esi, dword [ebx + 4]
jne 0x4080f6
call fcn.0042ba82
mov eax, dword [esi + 0xc]
sub eax, 0x10
push eax
call fcn.00403430
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x4c], 2
cmp esi, dword [ebx + 4]
jne 0x40811b
call fcn.0042ba82
mov eax, dword [esi + 0x10]
sub eax, 0x10
push eax
call fcn.00403430
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0x28], ebp
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x58], 3
call fcn.00409160
mov byte [esp + 0x58], 4
mov eax, dword [esp + 0x2c]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00403430
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00403960
add esp, 4
test eax, eax
je 0x408323
push 0x44bb58
push ebp
call fcn.0042c8c2
add esp, 8
test eax, eax
sete al
test al, al
je 0x4081a8
lea esi, [edi + 0xac]
lea ebx, [esp + 0x18]
call fcn.004094b0
jmp 0x4082a1
call fcn.00410415
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x408337
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x4c], 5
mov ecx, dword [esp + 0x20]
push ecx
lea ebx, [esp + 0x20]
call fcn.00403ad0
mov edx, dword [esp + 0x20]
add esp, 4
cmp dword [edx - 0xc], 0
jne 0x4081fa
push 7
push 0x44c058
mov ecx, ebx
call fcn.004032a0
push 0x44bfec
push ebp
call fcn.0042c8c2
add esp, 8
test eax, eax
sete al
test al, al
je 0x408225
push 7
push 0x44c058
lea ecx, [esp + 0x30]
call fcn.004032a0
mov ebp, dword [esp + 0x28]
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00403430
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x54], 6
mov edi, dword [esp + 0x24]
add edi, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
push edi
call fcn.00403430
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x54], 5
call fcn.00403c40
add esp, 8
cmp eax, 1
jne 0x40827f
mov esi, dword [esp + 0x54]
lea ebx, [esp + 0x18]
add esi, 0x9c
call fcn.004094b0
mov byte [esp + 0x4c], 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40829d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov edi, dword [esp + 0x54]
mov byte [esp + 0x4c], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4082c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
or edx, 0xffffffff
lea ecx, [ebp + 0xc]
mov byte [esp + 0x4c], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4082e8
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40830d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x38]
call fcn.0040a7e0
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
jmp 0x4080c2
lea ebx, [esp + 0x18]
lea esi, [edi + 0x9c]
call fcn.004094b0
jmp 0x4082a1
push 0x80004005
call fcn.004030c0
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408366
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40838e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4