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

Disassembly:
push 0xffffffffffffffff
push 0x616cd3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
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 0x437e38
xor eax, eax
jmp 0x4380cb
push 7
call fcn.004f3500
mov ecx, eax
call fcn.0043a730
mov ecx, eax
call fcn.004e2900
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
test eax, eax
je 0x437e31
push eax
lea ecx, [esp + 0x1c]
call fcn.004bb830
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.004bb850
lea ecx, [esp + 0x18]
call fcn.004f69c0
mov ebx, 1
test eax, eax
je 0x4380b8
mov ebp, dword [esp + 0x38]
nop
lea ecx, [esp + 0x18]
call fcn.004f69c0
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
mov ecx, edi
call eax
cmp eax, 0x11
jne 0x43809e
mov ecx, edi
call fcn.004c2a80
mov edi, eax
test edi, edi
je 0x43809e
mov ecx, dword [esi]
call fcn.004f3d40
cmp eax, 7
jne 0x437f09
mov ecx, edi
call fcn.004e4520
cmp eax, 2
je 0x43809e
mov ecx, edi
call fcn.004e4520
cmp eax, 3
je 0x43809e
mov ecx, edi
call fcn.004e4520
cmp eax, ebx
je 0x43809e
mov ecx, edi
call fcn.004e4520
cmp eax, 4
je 0x43809e
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esi + 0x8c]
jl 0x437f25
push edi
mov ecx, esi
call fcn.00435420
test eax, eax
jne 0x43809e
push edi
mov ecx, esi
call fcn.00436d70
push edi
test ax, ax
jg 0x43807d
lea ecx, [esp + 0x3c]
call fcn.004eae30
movsx eax, word [esi + 0x84]
cmp eax, dword [esi + 0x3c]
lea ecx, [esi + 0x3c]
jge 0x437f57
mov edx, dword [ecx + 8]
lea eax, [edx + eax*4]
jmp 0x437f5d
push eax
call fcn.004358d0
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 0x437f96
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.004f29e0
mov edi, eax
jmp 0x437f98
xor edi, edi
movsx eax, word [esi + 0x84]
cmp eax, dword [esi + 0x48]
lea ecx, [esi + 0x48]
mov byte [esp + 0x28], 0
jge 0x437fb4
mov ecx, dword [ecx + 8]
lea eax, [ecx + eax*4]
jmp 0x437fba
push eax
call fcn.005f3cc0
mov dword [eax], edi
movsx eax, word [esi + 0x84]
cmp eax, dword [esi + 0x54]
lea ecx, [esi + 0x54]
jge 0x437fd3
mov edx, dword [ecx + 8]
lea eax, [edx + eax*4]
jmp 0x437fd9
push eax
call fcn.005f3cc0
mov dword [eax], 0
movsx eax, word [esi + 0x84]
cmp eax, dword [esi + 0x60]
lea ecx, [esi + 0x60]
jge 0x437ff6
mov ecx, dword [ecx + 8]
lea eax, [ecx + eax*2]
jmp 0x437ffc
push eax
call fcn.005f3a50
mov edx, ebx
mov word [eax], dx
movsx eax, word [esi + 0x84]
cmp eax, dword [esi + 0x6c]
lea ecx, [esi + 0x6c]
jge 0x438018
mov ecx, dword [ecx + 8]
lea eax, [ecx + eax*2]
jmp 0x43801e
push eax
call fcn.005f3a50
xor edx, edx
mov word [eax], dx
movsx eax, word [esi + 0x84]
push eax
lea ecx, [esi + 0x78]
call fcn.0041ef10
push 0x633c9c
mov ecx, eax
call fcn.005edbf0
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.004372c0
test eax, eax
je 0x43809e
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esi + 0x8c]
jge 0x43809e
push ebp
inc ecx
push ecx
push eax
mov ecx, esi
call fcn.00437e00
jmp 0x43809e
mov ecx, esi
call fcn.004359c0
cwde
cmp eax, dword [esi + 0x60]
lea ecx, [esi + 0x60]
jge 0x438095
mov ecx, dword [ecx + 8]
lea eax, [ecx + eax*2]
jmp 0x43809b
push eax
call fcn.005f3a50
add word [eax], bx
lea ecx, [esp + 0x18]
call fcn.004bb880
lea ecx, [esp + 0x18]
call fcn.004f69c0
test eax, eax
jne 0x437e90
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.004f2200
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