Function at 0x437710
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4a48ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
lea ebx, [esi + 0xc]
xor ebp, ebp
push edi
mov dword [esp + 0x14], esi
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ebp
mov dword [esp + 0x30], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
lea edi, [esi + 0x2c]
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], ebp
mov dword [esi + 0x64], ebp
mov dword [esi + 0x68], ebp
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 5
mov dword [esi + 4], eax
mov dword [esi], edx
call fcn.00416d30
push eax
mov ecx, ebx
mov byte [esp + 0x34], 6
call fcn.00437680
mov eax, dword [esp + 0x1c]
cmp eax, ebp
mov byte [esp + 0x30], 5
je 0x4377b2
push eax
call fcn.00409f10
add esp, 4
mov ebx, dword [esp + 0x38]
mov edx, ebx
lea ecx, [esp + 0x18]
call fcn.00416d30
push eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0x34], 7
call fcn.004364d0
mov eax, dword [esp + 0x1c]
cmp eax, ebp
mov byte [esp + 0x30], 5
je 0x4377e5
push eax
call fcn.00409f10
add esp, 4
cmp ebx, ebp
jle 0x437847
mov dword [esp + 0x10], ebp
mov dword [esp + 0x3c], ebx
mov edx, dword [edi + 4]
cmp edx, ebp
jne 0x4377fc
xor ecx, ecx
jmp 0x437804
mov ecx, dword [edi + 8]
sub ecx, edx
sar ecx, 2
cmp edx, ebp
je 0x437821
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x437821
mov eax, dword [edi + 8]
mov dword [eax], ebp
add eax, 4
mov dword [edi + 8], eax
jmp 0x437840
mov ebx, dword [edi + 8]
cmp edx, ebx
jbe 0x43782d
call fcn.0048c48f
lea ecx, [esp + 0x10]
push ecx
push ebx
push edi
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.0043cd60
sub dword [esp + 0x3c], 1
jne 0x4377f1
mov ebx, dword [esi + 0x44]
cmp dword [esi + 0x40], ebx
jbe 0x437854
call fcn.0048c48f
mov edi, dword [esi + 0x40]
cmp edi, dword [esi + 0x44]
jbe 0x437861
call fcn.0048c48f
cmp edi, ebx
je 0x437892
mov eax, dword [esi + 0x44]
sub eax, ebx
sar eax, 2
cmp eax, ebp
lea ecx, [eax*4]
lea edx, [ecx + edi]
mov dword [esp + 0x3c], edx
jle 0x43788b
push ecx
push ebx
push ecx
push edi
call fcn.0048b2ab
add esp, 0x10
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x44], eax
mov ebx, dword [esi + 0x54]
cmp dword [esi + 0x50], ebx
jbe 0x43789f
call fcn.0048c48f
mov edi, dword [esi + 0x50]
cmp edi, dword [esi + 0x54]
jbe 0x4378ac
call fcn.0048c48f
cmp edi, ebx
je 0x4378dd
mov eax, dword [esi + 0x54]
sub eax, ebx
sar eax, 2
cmp eax, ebp
lea ecx, [eax*4]
lea edx, [ecx + edi]
mov dword [esp + 0x3c], edx
jle 0x4378d6
push ecx
push ebx
push ecx
push edi
call fcn.0048b2ab
add esp, 0x10
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x54], eax
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x18]
mov dword [esi + 8], ebp
call fcn.00416d30
lea edi, [esi + 0x5c]
push eax
mov ecx, edi
mov byte [esp + 0x34], 8
call fcn.004364d0
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x43790e
push eax
call fcn.00409f10
add esp, 4
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x38], eax
jbe 0x43791f
call fcn.0048c48f
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jbe 0x43792c
call fcn.0048c48f
cmp edi, edi
je 0x437935
call fcn.0048c48f
mov edx, dword [esp + 0x38]
cmp ebx, edx
je 0x437945
push ebp
mov ecx, ebx
call fcn.00439510
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8