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

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov dword [esp], 0x20
call fcn.006540e0
mov ebx, eax
lea eax, [eax + 0xc]
mov edx, eax
mov dword [ebp - 0x20], eax
lea eax, [ebx + 0x10]
cmp edx, eax
jae 0x437fa5
mov dword [esp], 0x200
call fcn.006540e0
mov dword [ebx + 0xc], eax
mov dword [ebp - 0x1c], eax
add eax, 0x200
mov dword [esp], 0x20
mov dword [ebp - 0x24], eax
call fcn.006540e0
mov esi, eax
lea eax, [eax + 0xc]
mov edx, eax
mov dword [ebp - 0x30], eax
lea eax, [esi + 0x10]
cmp edx, eax
jae 0x437fb0
mov dword [esp], 0x200
call fcn.006540e0
mov dword [esi + 0xc], eax
test ebx, ebx
je 0x437f77
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x88]
lea ebx, [eax + 4]
lea edx, [ecx + 4]
cmp edx, ebx
jbe 0x437f9e
mov dword [ebp - 0x34], ebx
mov esi, edx
lea esi, [esi]
mov edx, dword [ebx]
add ebx, 4
mov dword [esp], edx
call fcn.00654030
cmp esi, ebx
ja 0x437a30
mov ebx, dword [ebp - 0x34]
mov esi, dword [edi + 0x78]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov dword [edi + 0x68], 8
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], eax
mov eax, dword [edi + 0x64]
mov dword [edi + 0x78], ecx
mov dword [edi + 0x88], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x74], edx
test eax, eax
mov dword [edi + 0x84], edx
mov dword [ebp - 0x20], eax
mov dword [edi + 0x64], ecx
jne 0x437a9d
jmp 0x437aac
mov eax, dword [esi]
add esi, 4
mov dword [esp], eax
call fcn.00654030
cmp ebx, esi
ja 0x437a90
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.00654030
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x437acb
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00654030
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.00654030
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x437ad9
jmp 0x437ae7
mov eax, ebx
mov ebx, dword [eax]
mov dword [esp], eax
call fcn.00654030
test ebx, ebx
jne 0x437ad7
mov edx, dword [edi + 0x90]
mov eax, dword [edi + 0x8c]
mov dword [esp + 4], 0
shl edx, 2
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0xac]
mov dword [edi + 0x98], 0
mov dword [edi + 0x94], 0
test eax, eax
jne 0x437b32
jmp 0x437b40
mov eax, ebx
mov ebx, dword [eax]
mov dword [esp], eax
call fcn.00654030
test ebx, ebx
jne 0x437b30
mov ecx, dword [edi + 0xa8]
mov eax, dword [edi + 0xa4]
mov dword [esp + 4], 0
lea edx, [ecx*4]
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0xc4]
mov dword [edi + 0xb0], 0
mov dword [edi + 0xac], 0
test eax, eax
jne 0x437b89
jmp 0x437b97
mov eax, ebx
mov ebx, dword [eax]
mov dword [esp], eax
call fcn.00654030
test ebx, ebx
jne 0x437b87
mov edx, dword [edi + 0xc0]
mov eax, dword [edi + 0xbc]
mov dword [esp + 4], 0
shl edx, 2
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0xdc]
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
test eax, eax
jne 0x437be2
jmp 0x437bf0
mov eax, ebx
mov ebx, dword [eax]
mov dword [esp], eax
call fcn.00654030
test ebx, ebx
jne 0x437be0
mov ecx, dword [edi + 0xd8]
mov eax, dword [edi + 0xd4]
mov dword [esp + 4], 0
lea edx, [ecx*4]
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0xf4]
mov dword [edi + 0xe0], 0
mov dword [edi + 0xdc], 0
test eax, eax
jne 0x437c39
jmp 0x437c47
mov eax, ebx
mov ebx, dword [eax]
mov dword [esp], eax
call fcn.00654030
test ebx, ebx
jne 0x437c37
mov edx, dword [edi + 0xf0]
mov eax, dword [edi + 0xec]
mov dword [esp + 4], 0
shl edx, 2
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov dword [edi + 0xf8], 0
mov dword [edi + 0xf4], 0
mov dword [esp], 0x4c
call fcn.006540e0
mov esi, dword [edi + 0x14]
mov ebx, eax
lea eax, [edi + 4]
mov dword [ebx], eax
lea ecx, [ebx + 0x14]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x3f800000
mov dword [ebx + 0x18], 0
mov dword [esp], 0xa
call fcn.005e86a0
sub esp, 4
cmp eax, 0x3fffffff
mov dword [ebx + 8], eax
ja 0x437fb8
lea edx, [eax*4]
mov dword [esp], edx
mov dword [ebp - 0x1c], edx
call fcn.006540e0
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0x1c], eax
call sub.msvcrt.dll_memset
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 4], ecx
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x2c], 0x3f800000
mov dword [ebx + 0x30], 0
mov dword [esp], 0xa
call fcn.005e86a0
sub esp, 4
cmp eax, 0x3fffffff
mov dword [ebx + 0x20], eax
ja 0x437fb8
lea edx, [eax*4]
mov dword [esp], edx
mov dword [ebp - 0x1c], edx
call fcn.006540e0
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0x1c], eax
call sub.msvcrt.dll_memset
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x1c], ecx
lea ecx, [ebx + 0x44]
mov dword [ebx + 0x44], 0x3f800000
mov dword [ebx + 0x48], 0
mov dword [esp], 0xa
call fcn.005e86a0
sub esp, 4
cmp eax, 0x3fffffff
mov dword [ebx + 0x38], eax
ja 0x437fb8
lea edx, [eax*4]
mov dword [esp], edx
mov dword [ebp - 0x1c], edx
call fcn.006540e0
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0x1c], eax
call sub.msvcrt.dll_memset
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0x34], ecx
mov ecx, ebx
mov dword [esp], esi
call fcn.004433d0
mov eax, dword [edi + 0x18]
mov dword [edi + 0x18], ebx
mov dword [ebp - 0x20], eax
sub esp, 4
test eax, eax
je 0x437f66
mov esi, dword [eax + 0x3c]
test esi, esi
jne 0x437e22
jmp 0x437e3f
mov esi, ebx
mov eax, dword [esi + 8]
mov ebx, dword [esi]
test eax, eax
je 0x437e33
mov dword [esp], eax
call fcn.00654030
mov dword [esp], esi
call fcn.00654030
test ebx, ebx
jne 0x437e20
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0
mov edx, ecx
shl edx, 2
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0x1c], ecx
call sub.msvcrt.dll_memset
mov eax, dword [esi + 0x34]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esp], eax
call fcn.00654030
mov eax, dword [esi + 0x24]
test eax, eax
je 0x437ec8
mov esi, eax
mov dword [ebp - 0x24], edi
lea esi, [esi]
mov eax, dword [esi]
lea ebx, [esi + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x437ea3
jmp 0x437eb1
mov eax, edi
mov edi, dword [eax]
mov dword [esp], eax
call fcn.00654030
cmp edi, ebx
jne 0x437ea1
mov dword [esp], esi
call fcn.00654030
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x437ec5
mov esi, dword [ebp - 0x1c]
jmp 0x437e90
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov dword [esp + 4], 0
mov edx, ecx
shl edx, 2
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0x1c], ecx
call sub.msvcrt.dll_memset
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esp], eax
call fcn.00654030
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x437f12
jmp 0x437f20
mov eax, ebx
mov ebx, dword [eax]
mov dword [esp], eax
call fcn.00654030
test ebx, ebx
jne 0x437f10
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov dword [esp + 4], 0
mov edx, ecx
shl edx, 2
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0x1c], ecx
call sub.msvcrt.dll_memset
mov eax, dword [esi + 4]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esp], eax
call fcn.00654030
mov dword [esp], esi
call fcn.00654030
mov ecx, edi
call fcn.00437670
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
lea ecx, [eax + 0x200]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
jmp 0x437a10
mov esi, eax
jmp 0x437a47
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x4379c4
mov eax, dword [esi + 0xc]
jmp 0x4379fc
call fcn.0064b240
nop
nop
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, ecx
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00437980
mov ecx, dword [ebx + 0x14]
sub esp, 4
mov dword [esp], 1
call fcn.00442030
sub esp, 4
test al, al
jne 0x438000
mov ebx, 0x11
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 4
mov ecx, dword [ebx + 0x14]
mov dword [esp], 4
call fcn.00442030
sub esp, 4
test al, al
jne 0x437fee
mov ecx, ebx
call fcn.00436bd0
test al, al
je 0x437fee
mov ecx, ebx
call fcn.00437260
lea esi, [ebp - 0x18]
mov dword [esp], 4
mov dword [ebp - 0x10], 0
call fcn.006540e0
mov ecx, ebx
mov dword [eax], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x14]
mov dword [esp], esi
mov dword [ebp - 0xc], 0x438cd0
mov dword [ebp - 0x10], 0x4367b0
mov dword [esp + 4], eax
call fcn.004458b0
mov edx, dword [ebp - 0x10]
sub esp, 8
cmp al, 1
sbb eax, eax
test edx, edx
not eax
lea ebx, [eax + 0x11]
je 0x437ff3
mov dword [esp + 8], 3
mov dword [esp + 4], esi
mov dword [esp], esi
call edx
jmp 0x437ff3