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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450e5e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x492040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x1c], edi
call fcn.00416ee0
lea eax, [ebx + 0x18]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x18]
push eax
call fcn.00416ee0
mov byte [ebp - 4], 1
lea esi, [edi + 0x30]
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0044ed7b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.0041bd10
lea eax, [ebx + 0x38]
mov byte [ebp - 4], 3
lea ecx, [edi + 0x38]
push eax
call fcn.00416ee0
lea eax, [ebx + 0x50]
mov byte [ebp - 4], 4
lea ecx, [edi + 0x50]
push eax
call fcn.00416ee0
mov byte [ebp - 4], 5
lea ecx, [edi + 0x6c]
mov eax, dword [ebx + 0x68]
mov dword [edi + 0x68], eax
lea eax, [ebx + 0x6c]
push eax
call fcn.00416ee0
mov byte [ebp - 4], 6
lea ecx, [edi + 0x88]
mov eax, dword [ebx + 0x84]
mov dword [edi + 0x84], eax
lea eax, [ebx + 0x88]
push eax
call fcn.00416ee0
lea eax, [ebx + 0xa0]
mov byte [ebp - 4], 7
lea ecx, [edi + 0xa0]
push eax
call fcn.00416ee0
mov byte [ebp - 4], 8
lea esi, [edi + 0xb8]
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0044ed7b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [ebx + 0xb8]
mov byte [ebp - 4], 9
push eax
mov ecx, esi
call fcn.0041bd10
mov byte [ebp - 4], 0xa
lea esi, [edi + 0xc0]
push 0x88
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0044ed7b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [ebx + 0xc0]
mov byte [ebp - 4], 0xb
push eax
mov ecx, esi
call fcn.0041bc90
mov byte [ebp - 4], 0xc
lea esi, [edi + 0xc8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebx + 0xcc]
sub eax, dword [ebx + 0xc8]
sar eax, 3
mov dword [ebp - 0x14], esi
test eax, eax
je 0x40b0f6
cmp eax, 0x1fffffff
ja 0x40b280
push eax
mov ecx, esi
call fcn.0041cdd0
mov edi, dword [esi]
mov esi, dword [ebx + 0xcc]
mov eax, dword [ebx + 0xc8]
sub esi, eax
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x14]
add esp, 0xc
sar esi, 3
lea eax, [edi + esi*8]
mov edi, dword [ebp - 0x10]
mov dword [ecx + 4], eax
lea eax, [ebx + 0xd4]
mov byte [ebp - 4], 0xd
lea ecx, [edi + 0xd4]
push eax
call fcn.00407af0
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x10c]
mov eax, dword [ebx + 0x10c]
mov dword [esi], eax
push 0x38
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0044ed7b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0x10
mov eax, dword [ebx + 0x124]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x128]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x11c]
sub eax, dword [ebx + 0x118]
push dword [esi + 4]
sar eax, 2
push eax
call fcn.004178c0
mov eax, dword [ebx + 0x110]
mov ecx, esi
push eax
push dword [eax]
call fcn.0041e2a0
lea esi, [edi + 0x130]
mov dword [esi + 0x24], 0
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x12
mov ecx, dword [ebx + 0x154]
test ecx, ecx
je 0x40b1bc
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea esi, [edi + 0x158]
mov dword [esi + 0x24], 0
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x14
mov ecx, dword [ebx + 0x17c]
test ecx, ecx
je 0x40b1e2
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea esi, [edi + 0x180]
mov dword [esi + 0x24], 0
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x16
mov ecx, dword [ebx + 0x1a4]
test ecx, ecx
je 0x40b208
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x1a8]
lea esi, [edi + 0x1b8]
mov dword [edi + 0x1a8], eax
mov eax, dword [ebx + 0x1ac]
mov dword [edi + 0x1ac], eax
mov eax, dword [ebx + 0x1b0]
mov dword [edi + 0x1b0], eax
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0x18
mov ecx, dword [ebx + 0x1dc]
test ecx, ecx
je 0x40b252
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov cl, byte [ebx + 0x1e0]
mov eax, edi
mov byte [edi + 0x1e0], cl
mov ecx, dword [ebx + 0x1e4]
mov dword [edi + 0x1e4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0041cd30
int3