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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c2ff8
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
mov esi, ecx
push edi
mov ecx, 0x4ffdb9
call fcn.0040b060
mov ecx, dword [0x4ffb50]
xor edi, edi
push edi
call fcn.0047f7c0
test eax, eax
jne 0x43795a
mov ecx, 0x4ffdba
call fcn.0040d4b0
mov eax, dword [0x4ffb54]
cmp dword [eax + 0x38], edi
jne 0x43733e
cmp dword [eax + 0x1c], edi
je 0x43733e
cmp dword [eax + 0x34], edi
je 0x43795a
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x60]
push ebx
sub eax, dword [esi + 0x64]
imul eax, eax, 0x16
sub ecx, edx
push ebp
mov ebp, dword [0x4c72b0]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x74]
push ecx
push eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call ebp
mov ecx, esi
call fcn.00437e70
lea ecx, [esp + 0x28]
push ecx
lea edi, [esi + 0x40]
push 0
mov ecx, edi
mov ebx, eax
call fcn.0043eaf0
mov ecx, eax
call fcn.00437a40
push 0
mov ecx, edi
call fcn.0043eaf0
cmp ebx, 1
mov eax, dword [eax + 0x54]
je 0x437528
cmp dword [esi + 0x4c], eax
jne 0x437519
test ebx, ebx
jne 0x4375bd
mov edx, dword [esi + 0x84]
or ebx, 0xffffffff
mov ecx, 0x4ffdba
mov dword [esp + 0x10], edx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
call fcn.0040d4b0
mov eax, dword [0x4ffb54]
mov edi, dword [eax + 0x30]
mov ecx, dword [eax + 0x2c]
mov edx, edi
push edx
mov eax, ecx
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [0x4c735c]
test eax, eax
je 0x437440
mov edx, dword [esp + 0x3c]
mov ebx, dword [esi + 0x64]
mov ecx, dword [esi + 0x6c]
mov eax, edi
sub eax, edx
sub ecx, ebx
cdq
idiv ecx
mov ebx, eax
add ebx, dword [esi + 0x4c]
jns 0x437430
xor ebx, ebx
mov eax, dword [esi + 0x5c]
cmp ebx, eax
jl 0x43743a
lea ebx, [eax - 1]
mov dword [esi + 0x84], ebx
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
cmp eax, edi
je 0x4374af
mov eax, dword [esi + 0x64]
mov edi, dword [esi + 0x6c]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x64]
sub edi, eax
mov eax, dword [esp + 0x10]
sub eax, edx
imul edi, eax
mov eax, dword [esi + 0x6c]
sub eax, ecx
mov ecx, dword [esi + 0x68]
sub ecx, dword [esi + 0x60]
xor edx, edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x74]
push ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
push eax
lea edx, [esp + 0x20]
push edx
call ebp
xor eax, eax
push edi
push eax
lea eax, [esp + 0x20]
push eax
call ebp
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, edx
push eax
call dword [0x4c72b4]
or edi, 0xffffffff
cmp ebx, edi
je 0x4375c0
mov eax, dword [esi + 0x64]
mov edi, dword [esi + 0x6c]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x64]
sub edi, eax
mov eax, dword [esi + 0x6c]
sub eax, ecx
mov ecx, dword [esi + 0x68]
sub ebx, edx
mov edx, dword [esi + 0x60]
imul edi, ebx
sub ecx, edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x78]
push ecx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x74]
push eax
lea ecx, [esp + 0x20]
xor ebx, ebx
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call ebp
push edi
push ebx
lea edx, [esp + 0x20]
push edx
call ebp
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov edx, ecx
push edx
call dword [0x4c72b4]
jmp 0x4375bd
or ecx, 0xffffffff
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.00436230
mov ebx, dword [0x4c72b4]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov edx, ecx
push edx
call ebx
lea eax, [esp + 0x58]
push eax
push 0
mov ecx, edi
call fcn.0043eaf0
mov ecx, eax
call fcn.00437970
push eax
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
push edx
call ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov edx, ecx
push edx
call ebx
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x6c]
sub eax, ecx
mov ecx, dword [esi + 0x70]
imul eax, eax, 0x16
xor edx, edx
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x78]
sub eax, ecx
push edx
push eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x5c], ecx
call ebp
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, edx
push eax
call ebx
mov ecx, esi
call fcn.00436cd0
or edi, 0xffffffff
lea ecx, [esp + 0x28]
push ecx
call dword [0x4c7348]
test eax, eax
jne 0x437613
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.00435d00
lea ecx, [esi + 4]
call fcn.00483070
mov ecx, 0x4ffd68
mov ebx, eax
call fcn.0040e340
mov eax, dword [ebx]
mov ebp, dword [0x4ffb64]
mov ecx, ebx
call dword [eax + 0x68]
lea ecx, [esp + 0x28]
push ecx
push eax
push 0
lea ecx, [ebp + 4]
call fcn.0043eaf0
mov ecx, eax
call fcn.0047e7f0
mov eax, dword [esi + 0x84]
test eax, eax
jl 0x43781d
mov ecx, 0x4ffdba
call fcn.0040d4b0
mov eax, dword [0x4ffb54]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jne 0x437645
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x437645
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x437664
mov ecx, 0x4ffdb9
call fcn.0040b060
mov ecx, dword [0x4ffb50]
push 5
call fcn.0047f7c0
test eax, eax
je 0x43781d
mov ebx, dword [esi + 0x84]
test ebx, ebx
mov ebp, 0xffff
jl 0x43776f
jmp 0x437680
mov edx, dword [0x520868]
mov ecx, 0x520868
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, 0x4ffd78
mov dword [esp + 0x70], 0
call fcn.00403220
mov ecx, dword [0x4ffb24]
call fcn.00495b90
lea ecx, [ebx + 1]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
lea ecx, [eax + 0x1c]
call fcn.0043eaf0
mov ecx, eax
call fcn.0044fec0
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4376fd
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x43771a
mov cl, byte [eax]
cmp cl, 0x56
je 0x4376fd
test edx, edx
jl 0x43771a
cmp cl, 0x4e
je 0x437724
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], edi
call fcn.004031a0
dec ebx
jns 0x437680
jmp 0x43776f
add eax, 0xfffffff0
mov dword [esp + 0x70], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x43776f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x43776f
push 0x80070057
call fcn.004010f0
mov ecx, 0x4ffd78
call fcn.00403220
mov ecx, dword [0x4ffb24]
call fcn.00495b90
push ebx
lea ecx, [esp + 0x14]
push ecx
push 0
lea ecx, [eax + 0x1c]
call fcn.0043eaf0
mov ecx, eax
call fcn.0044fec0
test eax, eax
je 0x437762
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00436ff0
mov ebp, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], edi
call fcn.004031a0
mov ecx, 0x4ffdbe
call fcn.0040fe30
mov ecx, dword [0x4ffb68]
movsx edi, bp
call fcn.00495b90
mov edx, dword [eax + 0xc]
test edx, edx
je 0x43779a
mov ecx, dword [eax + 0x10]
sub ecx, edx
sar ecx, 2
cmp edi, ecx
jb 0x43779e
xor edx, edx
jmp 0x4377a7
mov eax, dword [eax + 0xc]
mov edx, dword [eax + edi*4]
lea edi, [eax + edi*4]
test edx, edx
lea ebx, [esi + 0x7c]
jne 0x4377b2
xor eax, eax
jmp 0x4377c0
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4377b7
sub eax, edi
push eax
push edx
mov ecx, ebx
call fcn.00404360
mov ecx, dword [ebx]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x43781d
mov ecx, 0x4ffdbb
call fcn.0040d550
mov edx, dword [0x4ffb58]
mov ecx, dword [edx + 0x2c]
add ecx, 0xc
push 0
call fcn.0043eaf0
mov ebx, dword [ebx]
mov edi, eax
mov ecx, 0x4ffdbd
add edi, 8
call fcn.0040e2a0
mov ebp, dword [0x4ffb60]
push 1
push 0
mov ecx, edi
call fcn.0043eaf0
mov eax, dword [eax + 0x2c]
push eax
push ebx
mov ecx, ebp
call fcn.00488ab0
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x437945
mov ecx, 0x4ffdbb
call fcn.0040d550
mov edx, dword [0x4ffb58]
mov eax, dword [edx + 0x2c]
mov ebx, dword [eax + 0xc]
add eax, 0xc
test ebx, ebx
jne 0x43785f
push 0x4d6aec
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x4c824c
call fcn.004a0e32
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x43786a
xor edi, edi
jmp 0x43786d
mov edi, dword [ecx + 0x10]
mov edx, dword [eax + 4]
cmp edx, edi
jb 0x43788b
push 0x4d6adc
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 0x4c8250
call fcn.004a0e32
test ecx, ecx
je 0x437894
mov eax, dword [ecx + 0xc]
jmp 0x437896
xor eax, eax
imul eax, edx
mov ecx, dword [eax + ebx + 0x68]
add eax, ebx
test ecx, ecx
je 0x437945
mov ecx, 0x4ffdbb
call fcn.0040d550
mov edx, dword [0x4ffb58]
mov ecx, dword [edx + 0x2c]
add ecx, 0xc
push 0
call fcn.0043eaf0
add eax, 8
push 0
mov ecx, eax
call fcn.0043eaf0
mov ecx, dword [esi + 0x7c]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 8]
test al, al
je 0x437945
mov ecx, 0x4ffdbd
call fcn.0040e2a0
mov ecx, dword [0x4ffb60]
push 1
call fcn.00483220
test eax, eax
jne 0x437945
mov ecx, 0x4ffdbb
call fcn.0040d550
mov eax, dword [0x4ffb58]
mov ecx, dword [eax + 0x2c]
add ecx, 0xc
push 0
call fcn.0043eaf0
mov esi, dword [esi + 0x7c]
mov edi, eax
mov ecx, 0x4ffdbd
add edi, 8
call fcn.0040e2a0
mov ebx, dword [0x4ffb60]
push 1
push 0
mov ecx, edi
call fcn.0043eaf0
mov ecx, dword [eax + 0x2c]
push ecx
push esi
mov ecx, ebx
call fcn.00488ab0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret
mov ecx, dword [esp + 0x60]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x64
ret