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

Disassembly:
push 0xffffffffffffffff
push 0x443082
mov eax, dword fs:[0]
push eax
mov eax, 0x8168
call fcn.0042fb60
mov eax, dword [0x455460]
xor eax, esp
mov dword [esp + 0x8160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455460]
xor eax, esp
push eax
lea eax, [esp + 0x817c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x818c]
mov eax, dword [ebp + 0xb0]
lea esi, [ebp + 0xb0]
sub eax, 0x10
push eax
call fcn.00402d50
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x30], edi
xor ebx, ebx
push edi
mov dword [esp + 0x8188], ebx
call dword [0x444588]
push ebx
push ebx
push ebx
push ebx
push 0x44a648
call dword [0x4445a0]
test eax, eax
mov dword [esp + 0x28], eax
je 0x407c8f
push ebx
push 0x80000000
push ebx
push ebx
push edi
push eax
call dword [0x4445a4]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x407c40
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x4445a8]
lea eax, [edi - 0x10]
mov dword [esp + 0x8184], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x407caa
push 0x103
lea ecx, [esp + 0x71]
push 0
push ecx
mov byte [esp + 0x78], bl
call fcn.0042dd90
add esp, 0xc
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x74]
push ecx
push 5
push edx
mov dword [esp + 0x54], 0x104
mov dword [esp + 0x48], ebx
call dword [0x44459c]
test eax, eax
jne 0x407cbd
mov eax, dword [esp + 0x28]
push eax
call dword [0x4445a8]
lea eax, [edi - 0x10]
mov dword [esp + 0x8184], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407cb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x407f21
lea ecx, [esp + 0x44]
call fcn.0041b2f2
push 0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0x8190], 1
call fcn.0040d560
mov byte [esp + 0x8184], 2
mov eax, dword [ebp + 0xa8]
sub eax, 0x10
push eax
call fcn.00402d50
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
push 0x44a724
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8188], 3
call fcn.00402070
mov eax, dword [esi]
push 0x2f
push eax
call fcn.0042cc61
add esp, 8
test eax, eax
jne 0x407d2a
or eax, 0xffffffff
jmp 0x407d2c
sub eax, dword [esi]
add eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040d190
mov byte [esp + 0x8184], 4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00402390
lea edx, [esp + 0x18]
lea esi, [ebp + 0xa4]
push edx
mov ecx, esi
call fcn.00402cd0
mov eax, dword [esi]
push eax
call dword [0x44437c]
test eax, eax
je 0x407d89
mov esi, dword [esi]
push esi
call dword [0x4442fc]
push 0x1f4
call dword [0x4442f8]
mov esi, dword [esp + 0x18]
push 0x44a728
push esi
call fcn.0042c956
add esp, 8
lea eax, [esp + 0x58]
push eax
push 0x1021
push esi
lea ecx, [esp + 0x50]
call fcn.0041b6ec
call dword [0x4442ec]
mov esi, dword [esp + 0x2c]
push 0
push 0
lea ecx, [esp + 0x40]
push ecx
push esi
call dword [0x444598]
test eax, eax
je 0x407f4b
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x17c]
push ecx
push esi
call dword [0x444594]
test eax, eax
je 0x407f4b
cmp dword [esp + 0x1c], 0
je 0x407ece
call dword [0x4442ec]
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x4c]
call fcn.0041b040
add ebx, dword [esp + 0x1c]
push 0
lea edi, [ebp + 0xbc]
push ebx
call fcn.00406530
push 0x44a634
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], eax
call fcn.00402870
mov byte [esp + 0x8184], 5
mov edi, dword [edi]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.00402390
mov eax, dword [esp + 0x24]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x58], esp
mov esi, esp
push eax
call fcn.00402d50
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [ebp + 0x2fc]
call fcn.00403300
fild dword [esp + 0x3c]
fidiv dword [ebp + 0x11c]
fmul qword [0x44ae58]
call fcn.0042fc10
mov dword [ebp + 0xc4], eax
mov byte [esp + 0x8184], 4
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 0x407ebf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], 0
jne 0x407db5
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
call fcn.0041b290
push esi
mov esi, dword [0x4445a8]
call esi
mov ecx, dword [esp + 0x28]
push ecx
call esi
lea ecx, [esp + 0x20]
call fcn.00402de0
lea ecx, [esp + 0x18]
call fcn.00402de0
lea ecx, [esp + 0x58]
call fcn.0040d4f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x8184], 0
call fcn.0041b3c6
lea ecx, [esp + 0x30]
call fcn.00402de0
mov eax, 1
mov ecx, dword [esp + 0x817c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8160]
xor ecx, esp
call fcn.0042b796
add esp, 0x8174
ret 4
lea ecx, [esp + 0x20]
call fcn.00402de0
lea ecx, [esp + 0x18]
call fcn.00402de0
lea ecx, [esp + 0x58]
call fcn.0040d4f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x8184], 0
call fcn.0041b3c6
lea ecx, [esp + 0x30]
call fcn.00402de0
xor eax, eax
jmp 0x407f21