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

Disassembly:
sub esp, 0x38
push ebp
push esi
mov esi, eax
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x48]
shl eax, 5
push eax
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov edx, dword [esi + 0x34]
shl edx, 4
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x4c]
push edx
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov ecx, dword [esi + 0x34]
shl ecx, 3
push ecx
mov dword [esi + 0x4c], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edx, dword [esi + 0x34]
shl edx, 4
push edx
mov dword [esi + 0x3c], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x34]
add esp, 0x18
xor ebp, ebp
test eax, eax
jle 0x437b51
push ebx
push edi
lea ecx, [ecx]
test ebp, ebp
jne 0x43788c
mov eax, dword [esi + 0x3c]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov dword [eax], ebx
mov dword [eax + 4], edi
mov eax, dword [esi]
test eax, eax
je 0x437905
push ebp
push edi
push ebx
push eax
call dword [esi + 0x2c4]
lea ecx, [esi + 0x18]
push ecx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call fcn.00449040
add esp, 0x14
jmp 0x437905
mov edx, dword [esi + 0x38]
mov eax, dword [esi]
test eax, eax
mov edi, dword [edx + ebp*8]
mov ebx, dword [edx + ebp*8 + 4]
je 0x4378b9
push 0
push ebx
push edi
push eax
call dword [esi + 0x2c4]
lea eax, [esi + 0x18]
push eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
call fcn.00449040
add esp, 0x14
mov edi, dword [esi + 0x4c]
mov ebx, dword [esi + 0x48]
mov ecx, ebp
shl ecx, 4
add ecx, edi
mov edx, ebp
push 0
shl edx, 5
push ecx
add edx, ebx
push edx
xor eax, eax
mov ecx, esi
call fcn.004376b0
add esp, 0xc
test eax, eax
jge 0x4378f5
mov eax, dword [esi + 0x3c]
mov dword [eax + ebp*8], 0xffffffff
mov dword [eax + ebp*8 + 4], 0xffffffff
jmp 0x437905
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 8]
mov dword [ecx + ebp*8], edx
mov eax, dword [esi + 0xc]
mov dword [ecx + ebp*8 + 4], eax
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + ebp*8]
and ecx, dword [eax + ebp*8 + 4]
cmp ecx, 0xffffffff
je 0x437a71
mov edx, dword [esi + 0x40]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [edx + ebp*4]
push eax
lea ebx, [esi + 0x78]
push ebx
or edi, 0xffffffff
call fcn.004490b0
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
push ecx
call fcn.004371f0
add esp, 0x14
test edx, edx
jl 0x437a5a
jg 0x437960
test eax, eax
jb 0x437a5a
jmp 0x437960
lea edx, [esp + 0x18]
push edx
call fcn.00448900
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + ebp*4]
add esp, 4
cmp eax, edx
jne 0x437a40
lea edx, [esp + 0x18]
push edx
push ebx
call fcn.00448d30
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.00449250
add esp, 0x10
test eax, eax
je 0x4379e8
jle 0x4379d6
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esi + 0x48]
mov edx, ebp
shl edx, 5
add edx, ecx
push edx
call fcn.00439e60
add esp, 8
cmp edi, 0xffffffff
mov ecx, eax
je 0x4379d4
lea eax, [ecx + edi]
mov edi, dword [esp + 0x10]
sar eax, 2
cdq
add edi, eax
mov eax, dword [esp + 0x14]
adc eax, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov edi, ecx
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00449250
add esp, 8
test eax, eax
jne 0x437998
lea ecx, [esp + 0x18]
push ecx
call fcn.00448870
and eax, edx
add esp, 4
cmp eax, 0xffffffff
jne 0x437a1f
push eax
push eax
lea edx, [esp + 0x20]
push edx
call fcn.004371f0
add esp, 0xc
test edx, edx
jg 0x437960
jl 0x437a40
test eax, eax
jae 0x437960
jmp 0x437a40
lea eax, [esp + 0x18]
push eax
call fcn.00448870
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add esp, 4
sub eax, edi
sbb edx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, eax
jg 0x437a5a
jl 0x437a52
cmp dword [esp + 0x10], eax
jae 0x437a5a
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov edx, dword [esi + 0x44]
mov eax, dword [esp + 0x10]
mov ecx, ebp
shl ecx, 4
mov dword [ecx + edx], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + edx + 4], eax
mov ecx, dword [esi + 0x38]
mov eax, dword [esi]
test eax, eax
mov edi, dword [ecx + ebp*8 + 8]
mov ebx, dword [ecx + ebp*8 + 0xc]
je 0x437a9f
push 0
push ebx
push edi
push eax
call dword [esi + 0x2c4]
lea edx, [esi + 0x18]
push edx
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
call fcn.00449040
add esp, 0x14
lea eax, [esp + 0x18]
push eax
mov eax, esi
call fcn.00437300
mov edi, edx
add esp, 4
test edi, edi
mov ebx, eax
jl 0x437af7
jg 0x437ac0
test ebx, ebx
jb 0x437af7
lea esp, [esp]
lea ecx, [esp + 0x18]
push ecx
call fcn.00448870
and eax, edx
add esp, 4
cmp eax, 0xffffffff
jne 0x437b1c
lea edx, [esp + 0x18]
push edx
mov eax, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call fcn.00437300
mov edi, edx
add esp, 4
test edi, edi
mov ebx, eax
jg 0x437ac0
jl 0x437af7
test ebx, ebx
jae 0x437ac0
mov edx, dword [esi + 0x48]
mov eax, ebp
shl eax, 5
add eax, edx
push eax
call fcn.00439550
mov edi, dword [esi + 0x4c]
mov ecx, ebp
shl ecx, 4
add ecx, edi
push ecx
call fcn.00439480
add esp, 8
jmp 0x437b43
mov eax, dword [esi + 0x44]
mov edx, ebp
lea ecx, [esp + 0x18]
shl edx, 4
push ecx
lea edi, [edx + eax]
call fcn.00448870
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
add esp, 4
sub eax, ebx
sbb edx, ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x34]
inc ebp
cmp ebp, eax
jl 0x437850
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x38
ret