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

Disassembly:
push 0xffffffffffffffff
push 0x614d43
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x4379c8
xor eax, eax
jmp 0x437c5b
push 7
call fcn.004f2840
mov ecx, eax
call fcn.0043a2c0
mov ecx, eax
call fcn.004e1bd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
test eax, eax
je 0x4379c1
push eax
lea ecx, [esp + 0x1c]
call fcn.004baa50
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.004baa70
lea ecx, [esp + 0x18]
call fcn.004baa40
mov ebx, 1
test eax, eax
je 0x437c48
mov ebp, dword [esp + 0x38]
nop
lea ecx, [esp + 0x18]
call fcn.004baa40
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
mov ecx, edi
call eax
cmp eax, 0x11
jne 0x437c2e
mov ecx, edi
call fcn.004c1a80
mov edi, eax
test edi, edi
je 0x437c2e
mov ecx, dword [esi]
call fcn.004f3080
cmp eax, 7
jne 0x437a99
mov ecx, edi
call fcn.00487d10
cmp eax, 2
je 0x437c2e
mov ecx, edi
call fcn.00487d10
cmp eax, 3
je 0x437c2e
mov ecx, edi
call fcn.00487d10
cmp eax, ebx
je 0x437c2e
mov ecx, edi
call fcn.00487d10
cmp eax, 4
je 0x437c2e
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esi + 0x8c]
jl 0x437ab5
push edi
mov ecx, esi
call fcn.00434fa0
test eax, eax
jne 0x437c2e
push edi
mov ecx, esi
call fcn.00436900
push edi
test ax, ax
jg 0x437c0d
lea ecx, [esp + 0x3c]
call fcn.00435430
movsx eax, word [esi + 0x84]
cmp eax, dword [esi + 0x3c]
lea ecx, [esi + 0x3c]
jge 0x437ae7
mov edx, dword [ecx + 8]
lea eax, [edx + eax*4]
jmp 0x437aed
push eax
call fcn.00435460
mov ecx, dword [esp + 0x38]
push 0x7c
mov dword [eax], ecx
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x28], bl
test eax, eax
je 0x437b26
mov edi, dword [esi]
mov edx, dword [edi + 0xc]
mov edi, dword [edi + 4]
shr edx, 4
and dl, bl
movzx edx, dl
push edx
push edi
mov ecx, eax
call fcn.004f1d20
mov edi, eax
jmp 0x437b28
xor edi, edi
movsx eax, word [esi + 0x84]
cmp eax, dword [esi + 0x48]
lea ecx, [esi + 0x48]
mov byte [esp + 0x28], 0
jge 0x437b44
mov ecx, dword [ecx + 8]
lea eax, [ecx + eax*4]
jmp 0x437b4a
push eax
call fcn.005f1b40
mov dword [eax], edi
movsx eax, word [esi + 0x84]
cmp eax, dword [esi + 0x54]
lea ecx, [esi + 0x54]
jge 0x437b63
mov edx, dword [ecx + 8]
lea eax, [edx + eax*4]
jmp 0x437b69
push eax
call fcn.005f1b40
mov dword [eax], 0
movsx eax, word [esi + 0x84]
cmp eax, dword [esi + 0x60]
lea ecx, [esi + 0x60]
jge 0x437b86
mov ecx, dword [ecx + 8]
lea eax, [ecx + eax*2]
jmp 0x437b8c
push eax
call fcn.005f1d70
mov edx, ebx
mov word [eax], dx
movsx eax, word [esi + 0x84]
cmp eax, dword [esi + 0x6c]
lea ecx, [esi + 0x6c]
jge 0x437ba8
mov ecx, dword [ecx + 8]
lea eax, [ecx + eax*2]
jmp 0x437bae
push eax
call fcn.005f1d70
xor edx, edx
mov word [eax], dx
movsx eax, word [esi + 0x84]
push eax
lea ecx, [esi + 0x78]
call fcn.0041eb20
push 0x631c94
mov ecx, eax
call fcn.005ec540
add word [esi + 0x84], bx
movzx eax, word [esi + 0x84]
mov ecx, dword [esp + 0x30]
push ecx
movsx edx, ax
push ebp
sub edx, ebx
push edx
mov ecx, esi
call fcn.00436e50
test eax, eax
je 0x437c2e
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esi + 0x8c]
jge 0x437c2e
push ebp
inc ecx
push ecx
push eax
mov ecx, esi
call fcn.00437990
jmp 0x437c2e
mov ecx, esi
call fcn.00435550
cwde
cmp eax, dword [esi + 0x60]
lea ecx, [esi + 0x60]
jge 0x437c25
mov ecx, dword [ecx + 8]
lea eax, [ecx + eax*2]
jmp 0x437c2b
push eax
call fcn.005f1d70
add word [eax], bx
lea ecx, [esp + 0x18]
call fcn.004baaa0
lea ecx, [esp + 0x18]
call fcn.004baa40
test eax, eax
jne 0x437a20
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0051a4a0
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc