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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov eax, dword [ecx + 8]
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov dword [esp + 4], 0
mov dword [ebp - 0x2c], eax
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov ecx, eax
test byte [0x4120d4], 8
jne 0x404688
xor edx, edx
test ecx, ecx
je 0x40450d
mov edx, dword [ecx]
cmp ebx, 0x4a
je 0x4046d0
ja 0x404630
cmp ebx, 5
je 0x404790
cmp ebx, 0x12
je 0x4048d0
cmp ebx, 2
jne 0x4047e9
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x40456d
mov ebx, dword [eax]
mov esi, dword [ecx + 0x20]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [ebx + 0x30]
mov ecx, dword [ebp - 0x2c]
sub esp, 8
mov eax, dword [ecx + 0x1c]
mov ebx, dword [eax]
mov dword [esp], eax
call dword [ebx + 8]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
sub esp, 4
mov ebx, dword [ecx + 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x30], ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
xor ebx, ebx
mov dword [ebp - 0x2c], edx
call dword [eax + 0x28]
mov edx, dword [ebp - 0x2c]
sub esp, 8
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 0x10]
mov edx, dword [ebp - 0x2c]
sub esp, 4
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x30]
sub esp, 4
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x2c], ecx
mov dword [esp], eax
call dword [0x41c5b8]
mov ecx, dword [ebp - 0x2c]
sub esp, 4
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x2c]
sub esp, 4
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
mov dword [esp], 0
call dword [sym.imp.user32.dll_PostQuitMessage]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp ebx, 0x4e
je 0x404820
cmp ebx, 0x111
jne 0x4047e9
mov esi, dword [ebp - 0x2c]
xor ebx, ebx
mov eax, esi
shr eax, 0x10
jne 0x40461c
cmp esi, 1
je 0x4048b0
cmp esi, 2
je 0x404890
test esi, esi
jne 0x40461c
mov eax, dword [edx]
mov dword [esp + 8], 0x4000
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [eax + 0x38]
sub esp, 0xc
jmp 0x40461c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str._hwnd_p_uMsg_u_wParam_Ix_lParam_Ix__n
mov dword [esp + 8], str.explorer_wnd_proc
mov dword [esp + 4], 0x4120d4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x30]
jmp 0x404505
test byte [0x4120d4], 8
jne 0x404860
xor ebx, ebx
cmp dword [esi], 0xe32ee32e
jne 0x40461c
mov eax, dword [esi + 8]
mov esi, dword [eax]
lea ebx, [eax + 8]
mov eax, dword [eax + 4]
and eax, 1
mov dword [ebp - 0x2c], esi
cmp eax, 1
mov eax, dword [ecx]
lea ecx, [ebp - 0x28]
sbb esi, esi
xor edi, edi
mov edx, dword [eax]
and esi, 0xfffffffe
mov dword [esp + 8], ecx
add esi, 3
mov dword [esp + 4], 0x417034
mov dword [esp], eax
call dword [edx + 0x44]
mov edx, esi
mov eax, dword [ebp - 0x2c]
or edx, 0x1c
sub esp, 0xc
mov dword [ebp - 0x30], edx
test eax, eax
jne 0x404769
jmp 0x404840
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x38]
sub esp, 0xc
mov dword [esp], ebx
inc edi
call dword [0x41c5b0]
sub esp, 4
add ebx, eax
cmp dword [ebp - 0x2c], edi
je 0x404840
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
test edi, edi
jne 0x404740
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], ecx
call dword [edx + 0x38]
sub esp, 0xc
jmp 0x404751
mov ebx, dword [ecx + 0xc]
mov eax, dword [ecx]
mov edx, esi
shr esi, 0x10
and edx, 0xffff
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], edx
mov ecx, dword [eax]
mov dword [esp + 0xc], ebx
xor ebx, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 8], 0
mov dword [esp + 0x10], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [ecx + 0x14]
mov eax, ebx
sub esp, 0x18
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], eax
call dword [sym.imp.user32.dll_DefWindowProcW]
sub esp, 0x10
lea esp, [ebp - 0x10]
mov ebx, eax
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov edx, esi
mov eax, ecx
call sym._explorer_on_notify
lea esp, [ebp - 0x10]
pop ecx
mov ebx, eax
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [ebp - 0x28]
mov ebx, 1
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x40461c
mov dword [esp + 0xc], 0x41426d
mov dword [esp + 8], str.handle_copydata
mov dword [esp + 4], 0x4120d4
mov dword [esp], 3
mov dword [ebp - 0x2c], ecx
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x2c]
jmp 0x4046dd
mov eax, dword [edx]
mov dword [esp + 8], 0x2000
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [eax + 0x38]
sub esp, 0xc
jmp 0x40461c
mov eax, dword [edx]
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [eax + 0x38]
sub esp, 0xc
jmp 0x40461c
call dword [0x41c570]
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitProcess]