Function at 0x428ca0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ad3f
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x478584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
lea eax, [esi + 8]
mov dword [esi + 4], ebx
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], ebx
mov dword [ebp - 4], 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 3
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [ebp - 4], 5
push 0x3b8
lea edi, [esi + 0x3c]
push ebx
mov dword [esi + 0x34], vtable.WTL::CMessageFilter.0
push edi
mov dword [esi + 0x38], vtable.WTL::CIdleHandler.0
call fcn.0043e210
add esp, 0xc
push 0x460360
mov dword [edi], 0x3b8
mov dword [edi + 0x10], 0x81a7
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [edi + 0x3b8], eax
mov byte [ebp - 4], 6
lea ecx, [esi + 0x3fc]
mov dword [esi], vtable.CMainDlg.2.0
mov dword [esi + 0x34], vtable.CMainDlg.1.0
mov dword [esi + 0x38], vtable.CMainDlg.0
call fcn.004331e0
mov byte [ebp - 4], 7
lea ecx, [esi + 0x41c]
call fcn.0042e3a0
mov byte [ebp - 4], 8
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x43c], eax
mov dword [esi + 0x438], ebx
mov word [esi + 0x428], cx
mov byte [ebp - 4], 9
xor edx, edx
mov dword [esi + 0x458], eax
mov dword [esi + 0x454], ebx
mov word [esi + 0x444], dx
mov byte [ebp - 4], 0xa
mov dword [esi + 0x474], eax
mov dword [esi + 0x470], ebx
mov word [esi + 0x460], cx
mov byte [ebp - 4], 0xb
mov dword [esi + 0x490], eax
mov dword [esi + 0x48c], ebx
mov word [esi + 0x47c], dx
mov byte [ebp - 4], 0xc
mov dword [esi + 0x4ac], eax
xor eax, eax
mov dword [esi + 0x4a8], ebx
mov word [esi + 0x498], ax
mov byte [ebp - 4], 0xd
mov dword [esi + 0x4c8], 0xf
mov dword [esi + 0x4c4], ebx
mov byte [esi + 0x4b4], bl
mov byte [ebp - 4], 0xe
lea eax, [esi + 0x4d0]
push 0x40
mov dword [ebp - 0x10], eax
mov dword [eax + 4], ebx
call fcn.0043e28a
add esp, 4
cmp eax, ebx
je 0x428ebb
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov dword [eax], eax
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov byte [ebp - 4], 0x11
mov word [esi + 0x4dc], bx
mov byte [esi + 0x4de], bl
mov dword [esi + 0x4e4], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x3f8], ebx
mov dword [esi + 0x420], ebx
mov byte [esi + 0x424], bl
call fcn.00408640
mov ecx, dword [eax + 0x34]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0x10], edx
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x428e83
sub eax, dword [ebp - 0x10]
sar eax, 1
push eax
push ecx
lea ecx, [esi + 0x444]
call fcn.00406a00
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
call fcn.0043ea8a
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x24], vtable.std::bad_alloc.0
mov byte [ebp - 4], 0xe
push 0x46ba34
lea ecx, [ebp - 0x24]
push ecx
call fcn.0043d9a0
int3