Function at 0x40ea50
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x456ce0
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
add ecx, eax
mov eax, dword [esp + 0x48]
mov esi, dword [edi - 8]
lea ebx, [edi - 0x38]
add ecx, edx
mov dword [esp + 0x14], 0
mov edx, dword [ebx + 0x2c]
add ecx, eax
mov eax, dword [ebx + 0x34]
add eax, esi
mov esi, dword [ebx + 0x28]
add eax, edx
add eax, esi
cmp ecx, eax
jle 0x40eb6c
lea esi, [ebx + 8]
push ebx
mov ecx, edi
call fcn.0043cbb6
lea edx, [esi - 4]
lea ecx, [edi + 4]
push edx
call fcn.0043cbb6
push esi
lea ecx, [edi + 8]
call fcn.0043cbb6
lea eax, [esi + 4]
lea ecx, [edi + 0xc]
push eax
call fcn.0043cbb6
lea ecx, [esi + 8]
push ecx
lea ecx, [edi + 0x10]
call fcn.0043cbb6
lea edx, [esi + 0xc]
lea ecx, [edi + 0x14]
push edx
call fcn.0043cbb6
lea eax, [esi + 0x10]
lea ecx, [edi + 0x18]
push eax
call fcn.0043cbb6
lea ecx, [esi + 0x14]
push ecx
lea ecx, [edi + 0x1c]
call fcn.0043cbb6
lea edx, [esi + 0x18]
lea ecx, [edi + 0x20]
push edx
call fcn.0043cbb6
lea eax, [esi + 0x1c]
lea ecx, [edi + 0x24]
push eax
call fcn.0043cbb6
mov ecx, dword [esi + 0x20]
sub esi, 0x38
mov dword [edi + 0x28], ecx
mov edx, dword [esi + 0x5c]
mov dword [edi + 0x2c], edx
mov eax, dword [esi + 0x60]
mov edx, dword [esp + 0x50]
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x64]
mov eax, dword [esp + 0x54]
mov dword [edi + 0x34], ecx
mov edi, ebx
lea ecx, [eax + edx]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
add ecx, edx
mov edx, dword [esi + 0x28]
add ecx, eax
mov eax, dword [esi + 0x2c]
sub ebx, 0x38
add eax, edx
mov edx, dword [esi + 0x24]
add eax, edx
mov edx, dword [esi + 0x20]
add eax, edx
cmp ecx, eax
jg 0x40eaaa
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.0043cbb6
lea edx, [esp + 0x24]
lea ecx, [edi + 4]
push edx
call fcn.0043cbb6
lea eax, [esp + 0x28]
lea ecx, [edi + 8]
push eax
call fcn.0043cbb6
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0xc]
call fcn.0043cbb6
lea edx, [esp + 0x30]
lea ecx, [edi + 0x10]
push edx
call fcn.0043cbb6
lea eax, [esp + 0x34]
lea ecx, [edi + 0x14]
push eax
call fcn.0043cbb6
lea ecx, [esp + 0x38]
push ecx
lea ecx, [edi + 0x18]
call fcn.0043cbb6
lea edx, [esp + 0x3c]
lea ecx, [edi + 0x1c]
push edx
call fcn.0043cbb6
lea eax, [esp + 0x40]
lea ecx, [edi + 0x20]
push eax
call fcn.0043cbb6
lea ecx, [esp + 0x44]
push ecx
lea ecx, [edi + 0x24]
call fcn.0043cbb6
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [edi + 0x28], edx
mov edx, dword [esp + 0x54]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], 9
call fcn.0043ca7d
lea ecx, [esp + 0x40]
mov byte [esp + 0x14], 8
call fcn.0043ca7d
lea ecx, [esp + 0x3c]
mov byte [esp + 0x14], 7
call fcn.0043ca7d
lea ecx, [esp + 0x38]
mov byte [esp + 0x14], 6
call fcn.0043ca7d
lea ecx, [esp + 0x34]
mov byte [esp + 0x14], 5
call fcn.0043ca7d
lea ecx, [esp + 0x30]
mov byte [esp + 0x14], 4
call fcn.0043ca7d
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14], 3
call fcn.0043ca7d
lea ecx, [esp + 0x28]
mov byte [esp + 0x14], 2
call fcn.0043ca7d
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 1
call fcn.0043ca7d
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.0043ca7d
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret