Function at 0x40c880
Capabilities:
Get process heap flags
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov eax, dword [ecx + 8]
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0xc]
mov dword [esp], esi
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [esp + 4], eax
call sym._GetWindowLongW_8
sub esp, 8
mov edi, eax
test byte [0x41304c], 8
jne 0x40c9b0
xor edx, edx
test edi, edi
je 0x40c8d5
mov edx, dword [edi]
cmp ebx, 0x12
je 0x40cb3f
nop
ja 0x40c958
cmp ebx, 2
je 0x40c9f8
cmp ebx, 5
nop
jne 0x40cac1
mov ebx, dword [edi]
xor esi, esi
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [edi + 0xc]
movzx eax, cx
mov edi, ecx
mov ecx, dword [ebx]
mov dword [esp], ebx
shr edi, 0x10
xor ebx, ebx
mov dword [ebp - 0x1c], edi
mov dword [esp + 0x14], edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 4], edi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
call dword [ecx + 0x14]
sub esp, 0x18
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp ebx, 0x4e
je 0x40cae8
cmp ebx, 0x111
jne 0x40cac1
mov esi, dword [ebp - 0x30]
xor ebx, ebx
mov eax, esi
shr eax, 0x10
jne 0x40c93b
cmp esi, 1
je 0x40cb20
cmp esi, 2
je 0x40cb00
test esi, esi
lea esi, [esi]
jne 0x40c93b
mov eax, dword [edx]
mov esi, 0x4000
xor edi, edi
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], edx
call dword [eax + 0x38]
sub esp, 0xc
jmp 0x40c93b
mov dword [esp + 0x14], ebx
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x10], esi
mov dword [esp], 3
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x18], eax
mov eax, str._hwnd_p_uMsg_u_wParam_Ix_lParam_Ix__n
mov dword [esp + 0xc], eax
mov eax, str.explorer_wnd_proc
mov dword [esp + 8], eax
mov eax, 0x41304c
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_2
jmp 0x40c8cd
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x40ca25
mov dword [ebp - 0x2c], edx
mov ecx, dword [edi + 0x20]
mov ebx, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [ebx + 0x30]
mov eax, dword [edi + 0x1c]
mov ebx, dword [eax]
sub esp, 8
mov dword [esp], eax
call dword [ebx + 8]
mov edx, dword [ebp - 0x2c]
sub esp, 4
mov dword [ebp - 0x2c], edx
mov ebx, dword [edi + 0x18]
mov eax, dword [edx]
mov dword [esp], edx
mov dword [esp + 4], ebx
xor ebx, ebx
call dword [eax + 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
sub esp, 8
mov dword [esp], edx
call dword [eax + 0x10]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
sub esp, 4
mov dword [esp], edx
call dword [eax + 8]
mov eax, dword [edi + 0x10]
sub esp, 4
mov dword [esp], eax
call sym._ILFree_4
mov eax, dword [edi + 0x14]
mov edx, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [edx + 8]
xor edx, edx
mov eax, dword fs:[0x18]
sub esp, 4
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor ecx, ecx
sub esp, 0xc
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
xor ebx, ebx
mov dword [esp], esi
call sym._SetWindowLongW_12
sub esp, 0xc
mov dword [esp], 0
call sym._PostQuitMessage_4
sub esp, 4
jmp 0x40c93b
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x2c]
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], eax
call sym._DefWindowProcW_16
sub esp, 0x10
mov ebx, eax
jmp 0x40c93b
mov edx, dword [ebp - 0x2c]
mov eax, edi
call sym._explorer_on_notify
mov ebx, eax
jmp 0x40c93b
mov eax, dword [edx]
mov ecx, 0x2000
xor esi, esi
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], edx
call dword [eax + 0x38]
sub esp, 0xc
jmp 0x40c93b
mov eax, dword [edx]
xor ecx, ecx
mov edi, 0x8000
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [eax + 0x38]
sub esp, 0xc
jmp 0x40c93b
call sym._OleUninitialize_0
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitProcess]