Function at 0x4146c0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d353
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x469644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, 7
xor eax, eax
mov dword [edi + 0x34], esi
mov dword [edi + 0x30], ebx
mov word [edi + 0x20], ax
xor ecx, ecx
mov dword [edi + 0x54], esi
mov dword [edi + 0x50], ebx
mov word [edi + 0x40], cx
xor edx, edx
mov dword [edi + 0x90], esi
mov dword [edi + 0x8c], ebx
mov word [edi + 0x7c], dx
mov dword [edi + 0xac], esi
mov dword [edi + 0xa8], ebx
mov word [edi + 0x98], ax
mov dword [edi + 0xc8], esi
mov dword [edi + 0xc4], ebx
mov word [edi + 0xb4], cx
mov dword [edi + 0xe4], esi
mov dword [edi + 0xe0], ebx
mov word [edi + 0xd0], dx
mov dword [edi + 0x100], esi
mov dword [edi + 0xfc], ebx
mov word [edi + 0xec], ax
mov dword [edi + 0x11c], esi
mov dword [edi + 0x118], ebx
mov word [edi + 0x108], cx
mov dword [edi + 0x138], esi
mov dword [edi + 0x134], ebx
mov word [edi + 0x124], dx
mov dword [edi + 0x154], esi
mov dword [edi + 0x150], ebx
mov word [edi + 0x140], ax
mov dword [edi + 0x170], esi
mov dword [edi + 0x16c], ebx
mov word [edi + 0x15c], cx
mov dword [edi + 0x18c], esi
mov dword [edi + 0x188], ebx
mov word [edi + 0x178], dx
mov byte [ebp - 4], 0xc
push 0xc
mov dword [edi + 0x1a8], ebx
call fcn.00427438
add esp, 4
cmp eax, ebx
je 0x41495b
mov dword [edi + 0x1a4], eax
mov dword [eax], eax
mov eax, dword [edi + 0x1a4]
mov dword [eax + 4], eax
xor eax, eax
mov dword [edi + 0x1c4], esi
mov dword [edi + 0x1c0], ebx
mov word [edi + 0x1b0], ax
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0xe
push ebx
lea edx, [ebp + 0xc]
mov dword [edi + 0x1c], ecx
push edx
or eax, 0xffffffff
lea ecx, [edi + 0x20]
call fcn.00403a30
lea esi, [ebp - 0x20]
mov byte [edi + 0x10], bl
call fcn.00406be0
mov esi, dword [eax + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov dword [edi + 0xc], eax
push ebx
mov eax, 0x45d4fc
lea esi, [edi + 0x40]
mov dword [edi + 0x14], 0xffffffff
mov dword [edi + 0x18], 2
mov byte [edi + 0x3c], 1
call fcn.00404210
push ebx
mov eax, 0x45d4fc
lea esi, [edi + 0x7c]
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
call fcn.00404210
push ebx
mov eax, 0x45d4fc
lea esi, [edi + 0x98]
call fcn.00404210
push ebx
mov eax, 0x45d4fc
lea esi, [edi + 0xb4]
call fcn.00404210
push ebx
mov eax, 0x45d4fc
lea esi, [edi + 0xd0]
call fcn.00404210
push ebx
mov eax, 0x45d4fc
lea esi, [edi + 0x108]
call fcn.00404210
push ebx
mov eax, 0x45d4fc
lea esi, [edi + 0x124]
call fcn.00404210
push ebx
mov eax, 0x45d4fc
lea esi, [edi + 0x178]
call fcn.00404210
lea esi, [ebp - 0x20]
call fcn.00406be0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi + 0x194], ecx
mov dword [edi + 0x198], edx
mov dword [edi + 0x19c], esi
mov dword [edi + 0x1a0], eax
push ebx
mov eax, 0x45d4fc
lea esi, [edi + 0x1b0]
call fcn.00404210
cmp dword [ebp + 0x20], 8
mov word [edi + 0x1cc], 1
jb 0x414946
mov eax, dword [ebp + 0xc]
push eax
call fcn.00426e9f
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.004257f4
push 0x46432c
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00428f61
int3