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

Disassembly:
push 0xffffffffffffffff
push 0x496c78
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
lea ebx, [esi + 0x14]
mov dword [esp + 0x88], edi
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], ebx
call fcn.00439960
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], edi
lea edx, [esp + 0x30]
mov dword [eax], eax
mov eax, dword [ebx + 4]
push edx
push esi
mov dword [eax + 8], eax
call fcn.00437d00
mov esi, eax
cmp esi, edi
jne 0x4375b4
mov esi, dword [esp + 0x34]
cmp esi, dword [esp + 0x38]
jbe 0x4373fe
call fcn.0045f752
lea eax, [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov ebp, esi
lea ebx, [ebx]
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x34], esi
jbe 0x43741f
call fcn.0045f752
cmp ebx, edi
je 0x43742b
lea eax, [esp + 0x30]
cmp ebx, eax
je 0x437430
call fcn.0045f752
cmp ebp, esi
je 0x4375b2
cmp ebx, edi
jne 0x437441
call fcn.0045f752
cmp ebp, dword [ebx + 8]
jb 0x43744b
call fcn.0045f752
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push ecx
mov edi, ebp
call fcn.00437290
mov edx, dword [ebp]
push edx
lea esi, [esp + 0x80]
call fcn.0043aa40
add esp, 0x20
mov byte [esp + 0x88], 1
mov ecx, dword [eax]
lea edx, [esp + 0x44]
lea edi, [eax + 4]
push edx
mov dword [esp + 0x44], ecx
call fcn.00437290
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x90], 2
call fcn.00439670
mov byte [esp + 0x88], 1
mov esi, dword [esp + 0x54]
xor ebx, ebx
cmp esi, ebx
je 0x4374f3
mov eax, dword [esp + 0x58]
cmp esi, eax
mov edi, eax
je 0x4374ea
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4374df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x4374c1
mov esi, dword [esp + 0x54]
push esi
call fcn.0045eebc
add esp, 4
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43751f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], bl
mov esi, dword [esp + 0x74]
cmp esi, ebx
je 0x43756a
mov eax, dword [esp + 0x78]
cmp esi, eax
mov edi, eax
je 0x437561
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437556
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x437538
mov esi, dword [esp + 0x74]
push esi
call fcn.0045eebc
add esp, 4
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437596
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
cmp ebp, dword [ecx + 8]
jb 0x4375a4
call fcn.0045f752
mov ebx, dword [esp + 0x1c]
add ebp, 0x1c
xor edi, edi
jmp 0x437410
xor esi, esi
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x4375dc
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
push edx
push ecx
push eax
call fcn.0043add0
mov edx, dword [esp + 0x40]
add esp, 0xc
push edx
call fcn.0045eebc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret