Function at 0x40b8c0
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 [0x412050], 8
jne 0x40ba88
xor edx, edx
test ecx, ecx
je 0x40b90d
mov edx, dword [ecx]
cmp ebx, 0x4a
je 0x40bad0
ja 0x40ba30
cmp ebx, 5
je 0x40bb90
cmp ebx, 0x12
je 0x40bcd0
cmp ebx, 2
jne 0x40bbe9
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x40b96d
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 [0x41d5b8]
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 0x40bc20
cmp ebx, 0x111
jne 0x40bbe9
mov esi, dword [ebp - 0x2c]
xor ebx, ebx
mov eax, esi
shr eax, 0x10
jne 0x40ba1c
cmp esi, 1
je 0x40bcb0
cmp esi, 2
je 0x40bc90
test esi, esi
jne 0x40ba1c
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 0x40ba1c
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], 0x412050
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x30]
jmp 0x40b905
test byte [0x412050], 8
jne 0x40bc60
xor ebx, ebx
cmp dword [esi], 0xe32ee32e
jne 0x40ba1c
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], 0x41736c
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 0x40bb69
jmp 0x40bc40
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 [0x41d5b0]
sub esp, 4
add ebx, eax
cmp dword [ebp - 0x2c], edi
je 0x40bc40
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
test edi, edi
jne 0x40bb40
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 0x40bb51
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 0x40ba1c
mov dword [esp + 0xc], 0x415679
mov dword [esp + 8], str.handle_copydata
mov dword [esp + 4], 0x412050
mov dword [esp], 3
mov dword [ebp - 0x2c], ecx
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x2c]
jmp 0x40badd
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 0x40ba1c
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 0x40ba1c
call dword [0x41d570]
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitProcess]