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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4415c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x20]
call fcn.0040ab90
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x9c]
mov dword [ebx], 0x44488c
call fcn.0040aaa0
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xf0]
call fcn.0040aaa0
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x144]
call fcn.0040aaa0
mov byte [ebp - 4], 3
lea esi, [ebx + 0x198]
mov ecx, esi
mov dword [ebp + 0x20], esi
call fcn.0040aaa0
mov byte [ebp - 4], 4
mov dword [esi], 0x444850
mov dword [esi + 0x54], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0x808080
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov byte [ebp - 4], 5
lea eax, [ebx + 0x244]
mov dword [ebp + 0x20], eax
mov dword [eax], 0x444844
mov dword [eax + 4], 0
mov byte [ebp - 4], 6
mov dword [eax], 0x444848
mov byte [ebp - 4], 7
lea eax, [ebx + 0x24c]
mov dword [ebp + 0x20], eax
mov dword [eax], 0x444844
mov dword [eax + 4], 0
mov byte [ebp - 4], 8
mov dword [eax], 0x444848
mov byte [ebp - 4], 9
lea eax, [ebx + 0x254]
mov dword [ebp + 0x20], eax
mov dword [eax], 0x444844
mov dword [eax + 4], 0
mov byte [ebp - 4], 0xa
mov dword [eax], 0x444848
mov byte [ebp - 4], 0xb
lea eax, [ebx + 0x25c]
mov dword [ebp + 0x20], eax
mov dword [eax], 0x444844
mov dword [eax + 4], 0
mov byte [ebp - 4], 0xc
mov dword [eax], 0x444848
mov byte [ebp - 4], 0xd
lea eax, [ebx + 0x264]
mov dword [ebp + 0x20], eax
mov dword [eax], 0x444844
mov dword [eax + 4], 0
mov byte [ebp - 4], 0xe
mov dword [eax], 0x444848
mov byte [ebp - 4], 0xf
lea eax, [ebx + 0x26c]
mov dword [ebp + 0x20], eax
mov dword [eax], 0x444844
mov dword [eax + 4], 0
mov byte [ebp - 4], 0x10
mov dword [eax], 0x444848
mov byte [ebp - 4], 0x11
lea eax, [ebx + 0x274]
mov dword [ebp + 0x20], eax
mov dword [eax], 0x444844
mov dword [eax + 4], 0
mov byte [ebp - 4], 0x12
mov dword [eax], 0x444848
mov byte [ebp - 4], 0x13
lea eax, [ebx + 0x27c]
mov dword [ebp + 0x20], eax
mov dword [eax], 0x444844
mov dword [eax + 4], 0
mov byte [ebp - 4], 0x14
mov dword [eax], 0x444848
mov byte [ebp - 4], 0x15
lea eax, [ebx + 0x284]
mov dword [ebp + 0x20], eax
mov dword [eax], 0x444844
mov dword [eax + 4], 0
mov byte [ebp - 4], 0x16
mov dword [eax], 0x444848
mov byte [ebp - 4], 0x17
lea eax, [ebx + 0x28c]
mov dword [ebp + 0x20], eax
mov dword [eax], 0x444844
mov dword [eax + 4], 0
mov byte [ebp - 4], 0x18
mov dword [eax], 0x444848
mov byte [ebp - 4], 0x19
lea eax, [ebx + 0x294]
mov dword [ebp + 0x20], eax
mov dword [eax], 0x444844
mov dword [eax + 4], 0
mov byte [ebp - 4], 0x1a
mov dword [eax], 0x444848
mov byte [ebp - 4], 0x1b
lea eax, [ebx + 0x29c]
mov dword [ebp + 0x20], eax
mov dword [eax], 0x444844
mov dword [eax + 4], 0
mov byte [ebp - 4], 0x1c
mov dword [eax], 0x444848
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp + 8]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x2c], eax
lea eax, [ebp - 0x20]
push eax
call dword [0x4442e4]
push eax
call dword [0x4442ec]
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov esi, dword [ecx + 8]
sub esi, dword [ecx]
mov edi, dword [ecx + 0xc]
sub eax, esi
sub edi, dword [ecx + 4]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x34]
add eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x34]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x34]
add eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0xc], eax
mov ecx, ebx
mov dword [ebx + 0x40], 0
call fcn.00407aa0
mov dword [ebx + 0x2a4], 1
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c