Function at 0x40ac80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov ecx, eax
test byte [global___dbch.0], 8
jne 0x40ae20
xor edx, edx
test ecx, ecx
je 0x40acc3
mov edx, dword [ecx]
cmp ebx, 0x4a
je 0x40ae68
ja 0x40adc8
cmp ebx, 5
je 0x40af28
cmp ebx, 0x12
je 0x40b020
cmp ebx, 2
jne 0x40af8b
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x40ad23
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
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 [0x41c594]
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], ecx
call dword [sym.imp.ucrtbase.dll_free]
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
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp ebx, 0x4e
je 0x40af78
cmp ebx, 0x111
jne 0x40af8b
mov esi, dword [ebp - 0x2c]
mov eax, esi
shr eax, 0x10
jne 0x40adb5
cmp esi, 1
je 0x40b000
cmp esi, 2
je 0x40afe0
test esi, esi
jne 0x40adb5
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 0x40adb5
mov dword [ebp - 0x30], eax
mov dword [esp + 0x1c], esi
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str._hwnd_p_uMsg_u_wParam_Ix_lParam_Ix__n
mov dword [esp + 8], global___func__.1
mov dword [esp + 4], global___dbch.0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x30]
jmp 0x40acbb
test byte [global___dbch.0], 8
jne 0x40afb0
xor eax, eax
cmp dword [esi], 0xe32ee32e
jne 0x40adb7
mov eax, dword [esi + 8]
mov edi, dword [eax]
lea ebx, [eax + 8]
mov eax, dword [eax + 4]
and eax, 1
mov dword [ebp - 0x2c], edi
cmp eax, 1
mov eax, dword [ecx]
lea ecx, [ebp - 0x28]
sbb esi, esi
mov edx, dword [eax]
and esi, 0xfffffffe
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x41623c
add esi, 3
mov dword [esp], eax
call dword [edx + 0x44]
sub esp, 0xc
test edi, edi
je 0x40af0c
mov eax, dword [ebp - 0x28]
mov ecx, esi
xor edi, edi
or ecx, 0x1c
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x38]
sub esp, 0xc
jmp 0x40aef6
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [ecx + 0x38]
sub esp, 0xc
mov dword [esp], ebx
add edi, 1
call dword [0x41c58c]
sub esp, 4
add ebx, eax
cmp dword [ebp - 0x2c], edi
jne 0x40aee0
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, 1
sub esp, 4
jmp 0x40adb7
mov eax, dword [ecx]
mov edx, esi
mov ecx, dword [ecx + 0xc]
shr esi, 0x10
and edx, 0xffff
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov ebx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [ebx + 0x14]
sub esp, 0x18
jmp 0x40adb5
mov edx, esi
mov eax, ecx
call dbg.explorer_on_notify
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x14], esi
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp dword [sym.imp.user32.dll_DefWindowProcW]
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0xc], 0x414539
mov dword [esp + 8], str.handle_copydata
mov dword [esp + 4], global___dbch.0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x2c]
jmp 0x40ae75
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 0x40adb5
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 0x40adb5
call dword [0x41c54c]
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitProcess]