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

Disassembly:
push 0xffffffffffffffff
push 0x46f568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esi + 0x58]
mov dword [esp + 0x1c], edi
call fcn.00435b90
test eax, eax
jne 0x437194
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
push ebx
call fcn.00418080
mov ebx, eax
call fcn.00415ce0
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jl 0x4371b8
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [0x47129c]
jmp 0x4371cc
mov ecx, dword [0x4810d8]
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00404e70
push 0x5c
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], edi
call fcn.00404c40
lea edx, [esi + 4]
push edx
push 0x4718c4
lea eax, [esp + 0x2c]
push eax
call fcn.0040ad00
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.00403a60
mov eax, dword [esp + 0x24]
mov ecx, dword [0x4810dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x437232
add eax, 0xfffffff4
push eax
call dword [0x471300]
test eax, eax
jg 0x437232
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.004590cf
add esp, 4
mov eax, dword [0x4810d8]
mov dword [esp + 0x10], eax
push 0x104
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.004042a0
test eax, eax
je 0x437264
mov eax, dword [esp + 0x10]
mov dword [eax - 8], 0x104
mov byte [eax + 0x104], 0
mov edx, dword [ebx]
push ebp
push edi
push 0x104
push eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, ebx
call dword [edx + 0xfc]
lea ecx, [esp + 0x14]
call fcn.004043e0
mov ebp, dword [esp + 0x14]
push ebp
call dword [0x471314]
mov dword [ebp - 8], eax
mov byte [eax + ebp], 0
mov eax, dword [ebp - 8]
cmp eax, 4
jle 0x4372cf
push 4
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405c70
mov eax, dword [eax]
push str..exe
push eax
mov dword [esp + 0x2c], 1
call fcn.004593cf
add esp, 8
test eax, eax
mov byte [esp + 0x10], 1
je 0x4372d4
mov byte [esp + 0x10], 0
test byte [esp + 0x24], 1
je 0x43730a
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4810dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43730a
add eax, 0xfffffff4
push eax
call dword [0x471300]
test eax, eax
jg 0x43730a
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call fcn.004590cf
add esp, 4
mov al, byte [esp + 0x10]
test al, al
je 0x437337
push 0x22
push edi
lea ecx, [esp + 0x1c]
call fcn.004369c0
lea eax, [esp + 0x10]
push eax
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x18], 0x22
call fcn.00403a60
mov ebp, dword [esp + 0x14]
mov eax, dword [esi + 0x48]
cmp eax, edi
mov dword [esp + 0x24], edi
je 0x437428
mov edx, dword [esi + 0x44]
mov eax, dword [edx]
cmp eax, edx
je 0x437364
nop
mov ecx, dword [eax + 8]
mov ecx, dword [ecx - 8]
test ecx, ecx
je 0x43735e
lea edi, [edi + ecx + 1]
mov eax, dword [eax]
cmp eax, edx
jne 0x437350
inc edi
push edi
call fcn.004578e2
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 0x24], edx
jne 0x4373d8
mov eax, dword [0x4810dc]
lea edx, [ebp - 0xc]
cmp edx, eax
je 0x43739b
add ebp, 0xfffffff4
push ebp
call dword [0x471300]
test eax, eax
jg 0x43739b
push ebp
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x4810dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4373c3
lea esi, [eax - 0xc]
push esi
call dword [0x471300]
test eax, eax
jg 0x4373c3
push esi
call fcn.004590cf
add esp, 4
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, edi
mov ebp, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x44]
mov edi, dword [eax]
cmp edi, eax
mov ebp, edx
je 0x437428
mov edx, dword [edi + 8]
mov eax, dword [edx - 8]
test eax, eax
je 0x437421
mov eax, edx
mov ecx, dword [eax - 8]
inc ecx
cmp ecx, 0x7fffffff
ja 0x437417
push eax
push ecx
push ebp
call fcn.00408800
mov eax, dword [edi + 8]
mov eax, dword [eax - 8]
lea ebp, [eax + ebp + 1]
mov edi, dword [edi]
cmp edi, dword [esi + 0x44]
jne 0x4373f7
mov ecx, dword [0x4810d8]
mov dword [esp + 0x1c], ecx
push 0x104
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call fcn.004042a0
test eax, eax
jne 0x43744d
xor ecx, ecx
jmp 0x43745f
mov ecx, dword [esp + 0x1c]
mov dword [ecx - 8], 0x104
mov byte [ecx + 0x104], 0
mov eax, dword [esi + 8]
mov edx, dword [ebx]
push 0
push 0x104
push ecx
push eax
mov ecx, ebx
call dword [edx + 0xfc]
lea ecx, [esp + 0x1c]
call fcn.004043e0
mov ebp, dword [esp + 0x1c]
push ebp
call dword [0x471314]
mov dword [ebp - 8], eax
mov byte [eax + ebp], 0
mov eax, dword [0x4810d8]
mov dword [esp + 0x20], eax
push 0x104
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 4
call fcn.004042a0
test eax, eax
je 0x4374c2
mov eax, dword [esp + 0x20]
mov dword [eax - 8], 0x104
mov byte [eax + 0x104], 0
mov edx, dword [ebx]
push 0
push 0x104
push eax
mov eax, dword [esi + 0xc]
push eax
mov ecx, ebx
call dword [edx + 0xfc]
lea ecx, [esp + 0x20]
call fcn.004043e0
mov edi, dword [esp + 0x20]
push edi
call dword [0x471314]
push 0
mov dword [edi - 8], eax
push 0
mov byte [eax + edi], 0
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x1c]
mov edx, dword [ebx]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x24]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esi + 0x20]
push ecx
push eax
push edi
push ebp
mov ecx, ebx
call dword [edx + 0x78]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43752f
push eax
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x437590
mov eax, dword [esi + 0x34]
cmp eax, 0xffffffff
je 0x437590
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esi + 0x38]
cmp ecx, 0xffffffff
jne 0x437559
mov dword [esp + 0x28], ecx
jmp 0x437563
imul ecx, ecx, 0x15180
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [esi + 0x34]
mov edx, dword [ebx]
push ecx
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [esi + 0x30]
push ecx
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [esi + 0x2c]
push ecx
push eax
mov eax, dword [esp + 0x44]
push eax
push ebp
mov ecx, ebx
call dword [edx + 0x80]
mov dword [esp + 0x28], eax
mov eax, dword [0x4810dc]
mov ebx, dword [0x471300]
lea ecx, [edi - 0xc]
cmp ecx, eax
je 0x4375b5
add edi, 0xfffffff4
push edi
call ebx
test eax, eax
jg 0x4375b5
push edi
call fcn.004590cf
add esp, 4
mov eax, dword [0x4810dc]
lea edx, [ebp - 0xc]
cmp edx, eax
je 0x4375d4
add ebp, 0xfffffff4
push ebp
call ebx
test eax, eax
jg 0x4375d4
push ebp
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x4810dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4375f8
lea esi, [eax - 0xc]
push esi
call ebx
test eax, eax
jg 0x4375f8
push esi
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4810dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43761c
lea esi, [eax - 0xc]
push esi
call ebx
test eax, eax
jg 0x43761c
push esi
call fcn.004590cf
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret