Function at 0x401380
Capabilities:
Get process heap flags
Set current directory

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
mov eax, 0x1078
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
call fcn.00401068
sub esp, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov dword [esp + 4], 0xffffffeb
mov dword [ebp - 0x1050], eax
mov dword [ebp - 0x104c], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov esi, eax
test eax, eax
je 0x401970
cmp ebx, 0x7b
je 0x402130
ja 0x401400
cmp ebx, 0x2c
ja 0x401548
test ebx, ebx
je case.0x4013f7.0
cmp ebx, 0x2c
ja case.0x4013f7.0
jmp dword [ebx*4 + 0x40d0c8]
cmp ebx, 0x120
je 0x401cd0
jbe 0x4017d0
cmp ebx, 0x202
je 0x401d20
jbe 0x401762
cmp ebx, 0xbf80
jne case.0x4013f7.0
call dword [sym.imp.user32.dll_GetFocus]
lea ebx, [esi + 0x98]
cmp dword [esi + 4], eax
je 0x401cc0
movzx eax, di
cmp di, 0x19e
ja 0x4020a0
cmp eax, 0x193
ja 0x401e70
cmp eax, 0x6b
je 0x402780
jbe 0x401d7e
cmp eax, 0x6c
jne 0x402840
mov eax, dword [ebp - 0x1050]
xor ecx, ecx
lea edi, [ebp - 0x818]
mov dword [ebp - 0x1008], 0
mov dword [ebp - 0x100c], 0
mov edx, edi
mov dword [ebp - 0x1018], eax
mov eax, 0x40
mov dword [ebp - 0x1004], 0
mov dword [ebp - 0x1000], 0
mov word [ebp - 0xffc], cx
mov dword [ebp - 0x1014], 3
mov dword [ebp - 0x1010], edi
mov word [ebp - 0x1008], ax
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x1058], edi
call sym._get_path
cmp word [ebp - 0x818], 0
je 0x402b89
mov eax, edi
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x401500
sub eax, dword [ebp - 0x1058]
xor edx, edx
sar eax, 1
mov word [ebp + eax*2 - 0x816], dx
lea eax, [ebp - 0x1018]
mov dword [esp], eax
call dword [sym.imp.shell32.dll_SHFileOperationW]
sub esp, 4
test eax, eax
je 0x402923
lea esi, [esi]
mov ebx, 1
jmp 0x401752
cmp ebx, 0x4e
jne case.0x4013f7.0
mov eax, dword [ebp - 0x104c]
lea ebx, [esi + 0x98]
cmp dword [eax + 4], 2
je 0x401cb0
mov edi, dword [ebp - 0x104c]
mov eax, dword [edi + 8]
cmp eax, 0xfffffebb
je 0x4023a0
cmp eax, 0xfffffebf
jne 0x401750
mov eax, edi
mov edx, dword [edi + 0xc]
mov eax, dword [eax + 0x14]
lea edi, [ebx + edx*4]
mov dword [ebp - 0x1050], edx
mov esi, dword [eax + 4]
lea eax, [ebp - 0x1038]
sub esi, dword [edi + 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov edx, dword [ebp - 0x1050]
add dword [edi + 8], esi
add dword [edi + 0x30], esi
sub esp, 8
lea eax, [edx + 1]
cmp eax, 0xa
jg 0x4015e1
lea eax, [ebx + edx*4 + 0x5c]
lea edx, [ebx + 0x84]
lea esi, [esi]
nop
add dword [eax], esi
add eax, 4
cmp edx, eax
jne 0x4015d8
mov dword [esp + 4], 0
mov eax, dword [ebx]
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetScrollPos]
mov dword [ebp - 0x1054], eax
call eax
mov edx, dword [edi + 0x5c]
mov dword [ebp - 0x1014], 0
sub esp, 8
mov dword [ebp - 0x1050], eax
sub edx, eax
mov dword [ebp - 0x1018], edx
mov eax, edx
mov edx, dword [ebp - 0x1030]
mov dword [ebp - 0x1010], edx
mov edx, dword [ebp - 0x102c]
mov dword [ebp - 0x100c], edx
mov edx, dword [ebp - 0x1030]
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x1c], 2
mov dword [ebp - 0x810], edx
mov edx, dword [ebp - 0x102c]
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x80c], edx
mov edx, 0
cmovs eax, edx
sub ecx, dword [ebp - 0x1050]
mov dword [esp + 0x18], 0
cmovs ecx, edx
lea edx, [ebp - 0x818]
mov dword [esp + 0x14], 0
mov dword [ebp - 0x1018], eax
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x818], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.user32.dll_ScrollWindowEx]
mov eax, dword [edi + 0x5c]
lea edx, [ebp - 0x818]
sub esp, 0x20
mov dword [ebp - 0x810], eax
mov dword [esp + 0xc], 0x101
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.user32.dll_RedrawWindow]
mov eax, dword [ebp - 0x104c]
sub esp, 0x10
cmp dword [eax + 8], 0xfffffeb9
jne 0x401750
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 0x80]
mov dword [esp + 4], 0x194
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp + 4], 0
mov eax, dword [ebx]
mov dword [esp], eax
mov eax, dword [ebp - 0x1054]
call eax
sub esp, 8
cmp dword [ebp - 0x1050], eax
je 0x401750
mov eax, ebx
call sym._set_header
lea esi, [esi]
xor ebx, ebx
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, 0x200
je 0x4022a0
cmp ebx, 0x201
jne case.0x4013f7.0
lea eax, [ebp - 0x818]
movsx ebx, word [ebp - 0x104c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1050]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [esi + 0x15c]
sub esp, 8
lea edx, [eax - 2]
cmp edx, ebx
jg 0x401750
lea edx, [eax + 3]
cmp edx, ebx
jle 0x401750
mov dword [0x40cc84], eax
mov eax, dword [ebp - 0x1050]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetCapture]
sub esp, 4
jmp 0x401750
cmp ebx, 0x111
je 0x401d40
jbe 0x4018c0
cmp ebx, 0x117
jne case.0x4013f7.0
mov ecx, dword [ebp - 0x104c]
mov edx, edi
mov eax, 0x117
call sym._CtxMenu_HandleMenuMsg
mov ebx, eax
test eax, eax
jne 0x401750
mov edx, dword [esi + 0xe38]
xor eax, eax
mov edi, dword [sym.imp.user32.dll_CheckMenuItem]
mov dword [esp + 4], 0x194
test edx, edx
sete al
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [0x40c09c]
mov dword [esp], eax
call edi
xor eax, eax
sub esp, 0xc
cmp dword [esi + 0xe38], 1
sete al
mov dword [esp + 4], 0x195
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [0x40c09c]
mov dword [esp], eax
call edi
xor eax, eax
sub esp, 0xc
cmp dword [esi + 0xe38], 2
sete al
mov dword [esp + 4], 0x196
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [0x40c09c]
mov dword [esp], eax
call edi
xor eax, eax
sub esp, 0xc
cmp dword [esi + 0xe38], 3
sete al
mov dword [esp + 4], 0x197
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [0x40c09c]
mov dword [esp], eax
call edi
sub esp, 0xc
jmp 0x401752
cmp ebx, 0x82
je 0x4020d0
cmp ebx, 0x100
jne case.0x4013f7.0
cmp edi, 0x1b
jne 0x401750
call dword [sym.imp.user32.dll_GetCapture]
cmp dword [ebp - 0x1050], eax
jne 0x401750
mov eax, dword [0x40cc84]
xor ebx, ebx
mov dword [esi + 0x15c], eax
lea eax, [ebp - 0x818]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1050]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [ebp - 0x80c]
mov edx, dword [ebp - 0x810]
mov eax, esi
sub esp, 8
call sym._resize_tree
mov dword [0x40cc84], 0xffffffff
call dword [sym.imp.user32.dll_ReleaseCapture]
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadCursorW]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetCursor]
sub esp, 4
jmp 0x401752
mov dword [esp + 8], 0xdbd
mov dword [esp + 4], str..._src_wine_programs_winefile_winefile.c
mov dword [esp], str.child
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x4013d2
cmp edi, 1
je case.0x4013f7.0
mov eax, dword [ebp - 0x104c]
mov ecx, eax
movzx edx, ax
mov eax, esi
shr ecx, 0x10
call sym._resize_tree
mov eax, dword [ebp - 0x104c]
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1050]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DefMDIChildProcW]
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
test edi, edi
jne 0x401750
mov ecx, dword [ebp - 0x104c]
xor edx, edx
mov eax, ebx
xor ebx, ebx
call sym._CtxMenu_HandleMenuMsg
test eax, eax
setne bl
jmp 0x401752
mov dword [esp + 8], 0x1f
lea edx, [esi + 4]
mov ecx, 3
xor ebx, ebx
mov dword [esp + 4], 0
mov dword [esp], 2
mov eax, dword [esi]
call sym._create_tree_window
mov eax, dword [esi + 0x574]
lea edx, [esi + 0x98]
mov dword [esp], 5
mov ecx, 6
mov dword [esp + 8], eax
lea eax, [esi + 0x36c]
mov dword [esp + 4], eax
mov eax, dword [esi]
call sym._create_tree_window
jmp 0x401752
mov esi, dword [ebp - 0x104c]
mov eax, dword [ebp - 0x1050]
mov dword [esp + 8], edi
xor ebx, ebx
mov dword [esp + 4], 0x24
mov dword [esp + 0xc], esi
mov dword [esp], eax
call dword [sym.imp.user32.dll_DefMDIChildProcW]
shl dword [esi + 0x20], 1
sub esp, 0x10
shl dword [esi + 0x24], 1
jmp 0x401752
cmp word [ebp - 0x104c], 1
jne case.0x4013f7.0
lea edx, [ebp - 0x818]
mov dword [esp], edx
call dword [sym.imp.user32.dll_GetCursorPos]
mov eax, dword [ebp - 0x1050]
lea edx, [ebp - 0x818]
sub esp, 4
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_ScreenToClient]
mov eax, dword [esi + 0x15c]
mov edx, dword [ebp - 0x818]
sub esp, 8
lea ecx, [eax - 2]
cmp edx, ecx
jl case.0x4013f7.0
add eax, 3
cmp edx, eax
jge case.0x4013f7.0
mov dword [esp + 4], 0x7f84
mov ebx, 1
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadCursorW]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetCursor]
sub esp, 4
jmp 0x401752
mov eax, dword [ebp - 0x104c]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 4]
cmp eax, 3
je 0x402690
cmp eax, 6
jne case.0x4013f7.44
mov dword [esp], 0xffffffff
mov edx, dword [ebp - 0x104c]
lea eax, [esi + 0x98]
mov ebx, 1
call sym._draw_item
jmp 0x401752
mov edi, dword [ebp - 0x1050]
lea eax, [ebp - 0x1018]
lea ebx, [ebp - 0x818]
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetClientRect]
mov dword [ebp - 0x1050], edi
sub esp, 8
mov dword [esp + 4], ebx
mov dword [esp], edi
call dword [sym.imp.user32.dll_BeginPaint]
mov eax, dword [esi + 0x15c]
sub esp, 8
lea edx, [eax - 2]
add eax, 3
mov dword [esp], 1
mov dword [ebp - 0x1018], edx
mov dword [ebp - 0x1010], eax
call dword [sym.imp.gdi32.dll_GetStockObject]
mov edi, dword [sym.imp.gdi32.dll_SelectObject]
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x818]
mov dword [esp], eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x100c]
sub esp, 8
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1010]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1014]
dec eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1018]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x818]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_Rectangle]
mov eax, dword [ebp - 0x818]
sub esp, 0x14
mov dword [esp + 4], esi
mov dword [esp], eax
call edi
mov edi, dword [ebp - 0x1050]
sub esp, 8
mov dword [esp + 4], ebx
xor ebx, ebx
mov dword [esp], edi
call dword [sym.imp.user32.dll_EndPaint]
sub esp, 8
jmp 0x401752
lea eax, [esi + 0x164]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
sub esp, 4
test eax, eax
jne 0x402600
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x402398
mov eax, dword [esi + 0x98]
mov dword [esp], eax
xor ebx, ebx
call dword [sym.imp.user32.dll_SetFocus]
sub esp, 4
jmp 0x401752
lea ebx, [esi + 4]
jmp 0x401567
lea ebx, [esi + 4]
jmp 0x401445
mov eax, dword [0x40cc98]
test eax, eax
je 0x401750
mov dword [ebp - 0x818], 0
mov edx, dword [eax]
lea ecx, [ebp - 0x818]
mov esi, dword [ebp - 0x104c]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0x120
mov dword [esp], eax
call dword [edx + 0x1c]
mov ebx, dword [ebp - 0x818]
sub esp, 0x14
jmp 0x401752
call dword [sym.imp.user32.dll_GetCapture]
cmp dword [ebp - 0x1050], eax
jne 0x401750
call dword [sym.imp.user32.dll_ReleaseCapture]
xor ebx, ebx
jmp 0x401752
call dword [sym.imp.user32.dll_GetFocus]
shr edi, 0x10
cmp eax, dword [esi + 4]
je 0x402610
cmp edi, 1
je 0x402630
lea edx, [esi + 0x98]
cmp edi, 2
jne 0x401750
mov ecx, dword [ebp - 0x1050]
mov eax, esi
xor ebx, ebx
call sym._activate_entry
jmp 0x401752
cmp eax, 0x65
je 0x402760
cmp eax, 0x6a
jne 0x401750
lea eax, [ebp - 0x818]
lea edi, [ebp - 0x1018]
mov dword [ebp - 0x1058], eax
mov ecx, eax
mov edx, edi
mov eax, ebx
call sym._prompt_target
test eax, eax
je 0x401538
xor eax, eax
mov edx, dword [ebp - 0x1050]
cmp word [ebp - 0x1018], 0
mov dword [ebp - 0x1028], 0
mov word [ebp - 0x101c], ax
mov eax, dword [ebp - 0x1058]
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x102c], eax
mov eax, edi
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x1038], edx
mov dword [ebp - 0x1034], 1
mov dword [ebp - 0x1030], edi
je 0x401e19
add eax, 2
cmp word [eax], 0
jne 0x401e10
sub eax, edi
xor edi, edi
sar eax, 1
cmp word [ebp - 0x818], 0
mov word [ebp + eax*2 - 0x1016], di
mov eax, dword [ebp - 0x1058]
je 0x401e49
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x401e40
sub eax, dword [ebp - 0x1058]
xor edx, edx
sar eax, 1
mov word [ebp + eax*2 - 0x816], dx
lea eax, [ebp - 0x1038]
jmp 0x401521
lea edx, [eax - 0x194]
cmp edx, 0xa
ja case.0x401e7b.408
jmp dword [edx*4 + 0x40d17c]
cmp eax, 0x191
jne 0x401750
cmp dword [ebx + 0x88], 0
je 0x401538
mov dword [ebx + 0x88], 0
mov edx, 1
mov eax, ebx
call sym._calc_widths
mov eax, ebx
call sym._set_header
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.user32.dll_InvalidateRect]
mov eax, dword [0x40c09c]
mov ebx, dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
mov dword [esp + 8], 8
mov dword [esp + 4], 0x191
mov dword [esp], eax
call ebx
sub esp, 0xc
mov dword [esp + 8], 0
mov eax, dword [0x40c09c]
mov dword [esp + 4], 0x192
mov dword [esp], eax
call ebx
mov ebx, 1
sub esp, 0xc
jmp 0x401752
mov eax, dword [esi + 0x15c]
mov ebx, 1
mov dword [0x40cc84], eax
mov eax, dword [ebp - 0x1050]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetCapture]
sub esp, 4
jmp 0x401752
lea edi, [ebp - 0x818]
xor eax, eax
mov ecx, 0x83
mov edx, edi
mov dword [ebp - 0x1058], edi
lea ebx, [esi + 0x36c]
rep stosd dword es:[edi], eax
mov edi, edx
mov eax, ebx
sub edi, esi
nop
mov edx, eax
add eax, 2
movzx edx, word [edx]
mov word [edi + eax - 0x36e], dx
test dx, dx
jne 0x401f70
mov eax, dword [esi + 0x574]
mov dword [esp + 0xc], sym._FilterDialogDlgProc_16
mov dword [esp + 4], 0x69
mov dword [ebp - 0x610], eax
mov eax, dword [ebp - 0x1058]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1050]
mov dword [esp + 8], eax
mov eax, dword [0x40c080]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
cmp eax, 1
jne 0x401538
nop
mov edx, ebx
add ebx, 2
movzx eax, word [edi + ebx - 0x36e]
mov word [edx], ax
test ax, ax
jne 0x401fd0
mov eax, dword [ebp - 0x610]
mov dword [esi + 0x574], eax
mov eax, esi
call sym._refresh_right_pane
jmp 0x401538
cmp dword [esi + 0xe38], 3
je 0x401538
mov dword [esi + 0xe38], 3
mov eax, esi
mov ebx, 1
call sym._refresh_child
jmp 0x401752
cmp dword [esi + 0xe38], 1
je 0x401538
mov dword [esi + 0xe38], 1
mov eax, esi
mov ebx, 1
call sym._refresh_child
jmp 0x401752
mov eax, dword [esi + 0xe38]
test eax, eax
je 0x401538
mov dword [esi + 0xe38], 0
mov eax, esi
mov ebx, 1
call sym._refresh_child
jmp 0x401752
cmp dword [esi + 0xe38], 2
je 0x401538
mov dword [esi + 0xe38], 2
mov eax, esi
mov ebx, 1
call sym._refresh_child
jmp 0x401752
cmp eax, 0xe130
je 0x402710
cmp eax, 0xe138
jne 0x402370
mov eax, dword [ebx + 0x90]
mov edx, dword [esi]
mov ebx, 1
call sym._show_properties_dlg
jmp 0x401752
lea eax, [esi + 0x578]
xor ebx, ebx
call sym._free_entries
mov dword [esp + 8], esi
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]
mov eax, dword [ebp - 0x1050]
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0xffffffeb
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
jmp 0x401752
mov eax, dword [ebp - 0x104c]
mov dword [esp], edi
movsx edx, ax
sar eax, 0x10
mov dword [ebp - 0x105c], eax
mov dword [ebp - 0x1014], eax
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x104c], edx
mov dword [ebp - 0x1018], edx
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_ScreenToClient]
mov edx, dword [ebp - 0x1014]
movzx eax, word [ebp - 0x1018]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
shl edx, 0x10
mov dword [esp + 8], 0
or eax, edx
mov dword [ebp - 0x1054], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x201
mov dword [esp], edi
call ebx
mov edx, dword [ebp - 0x1014]
movzx eax, word [ebp - 0x1018]
sub esp, 0x10
shl edx, 0x10
mov dword [esp + 8], 0
or eax, edx
mov dword [esp + 4], 0x202
mov dword [esp + 0xc], eax
mov dword [esp], edi
call ebx
lea ebx, [esi + 4]
sub esp, 0x10
call dword [sym.imp.user32.dll_GetFocus]
mov edx, eax
mov eax, dword [esi + 4]
cmp eax, edx
je 0x4021f0
mov eax, dword [esi + 0x98]
lea ebx, [esi + 0x98]
mov dword [esp + 0xc], 0
mov edi, dword [ebp - 0x1054]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x188
mov dword [esp], eax
call edi
sub esp, 0x10
cmp eax, 0xffffffff
je 0x401750
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x199
mov eax, dword [ebx]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x1050]
sub esp, 0x10
call sym._get_to_absolute_pidl
mov edi, eax
test eax, eax
je 0x401750
lea eax, [ebp - 0x1040]
lea ebx, [ebp - 0x103c]
mov dword [esp + 4], 0x412b7c
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp], edi
call dword [sym.imp.shell32.dll_SHBindToParent]
sub esp, 0x10
test eax, eax
jns 0x4026af
mov eax, dword [0x40c8d4]
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 8
jmp 0x401750
call dword [sym.imp.user32.dll_GetCapture]
cmp dword [ebp - 0x1050], eax
jne 0x401750
lea eax, [ebp - 0x818]
movsx ebx, word [ebp - 0x104c]
mov dword [ebp - 0x1058], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1050]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
sub esp, 8
test ebx, ebx
js 0x401750
mov edx, dword [ebp - 0x810]
cmp edx, ebx
jle 0x401750
mov dword [esi + 0x15c], ebx
mov ecx, dword [ebp - 0x80c]
mov eax, esi
call sym._resize_tree
lea eax, [ebx - 2]
add ebx, 3
mov edi, dword [ebp - 0x1050]
mov dword [ebp - 0x818], eax
mov eax, dword [ebp - 0x1058]
mov dword [ebp - 0x810], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.user32.dll_InvalidateRect]
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.user32.dll_UpdateWindow]
sub esp, 0xc
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp], edi
call ebx
mov eax, dword [esi + 0x98]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
jmp 0x401750
cmp eax, 0x6a8
jne 0x402a1a
call sym._refresh_drives
mov eax, esi
mov ebx, 1
call sym._refresh_child
jmp 0x401752
mov eax, dword [esi + 4]
jmp 0x401c96
mov eax, dword [ebp - 0x104c]
mov edi, dword [eax + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x18b
mov eax, dword [ebx]
mov dword [ebp - 0x1050], edi
lea edi, [ebx + edi*4]
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x1054], eax
call eax
mov dword [edi + 8], 0
mov dword [ebp - 0x105c], eax
mov eax, dword [ebx]
sub esp, 0x10
mov dword [ebp - 0x1060], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDC]
mov esi, dword [sym.imp.gdi32.dll_SelectObject]
mov edi, eax
mov eax, dword [0x40c0b4]
sub esp, 4
mov dword [ebp - 0x1068], esi
mov dword [esp + 4], eax
mov dword [esp], edi
call esi
lea edx, [ebp - 0x818]
xor esi, esi
mov dword [ebp - 0x1064], eax
mov eax, dword [ebp - 0x105c]
sub esp, 8
mov dword [ebp - 0x1058], edx
test eax, eax
jle 0x4024f9
lea esi, [esi]
mov dword [esp + 8], esi
inc esi
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x199
mov eax, dword [ebx]
mov dword [esp], eax
mov eax, dword [ebp - 0x1054]
call eax
mov edx, dword [ebp - 0x1058]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov ecx, eax
sub esp, 0x10
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x808], 0
mov eax, dword [ebx]
mov dword [ebp - 0x800], edi
mov dword [ebp - 0x804], eax
mov eax, dword [ebp - 0x1050]
mov dword [ebp - 0x7f0], 0
mov dword [esp], eax
mov eax, ebx
mov dword [ebp - 0x7f8], 0
mov dword [ebp - 0x7f4], 0
mov dword [ebp - 0x7fc], 0
call sym._draw_item
cmp dword [ebp - 0x105c], esi
jne 0x402448
mov eax, dword [ebp - 0x1064]
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1068]
call eax
sub esp, 8
mov dword [esp + 4], edi
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.user32.dll_ReleaseDC]
mov eax, dword [ebp - 0x1060]
sub esp, 8
mov edx, dword [eax + 8]
test edx, edx
je 0x402545
mov eax, dword [0x40c0bc]
lea eax, [eax + eax*2]
add edx, eax
mov eax, 0x10
cmp edx, 0x10
cmovl edx, eax
mov eax, dword [ebp - 0x1060]
mov dword [eax + 8], edx
add edx, dword [eax + 0x58]
mov eax, dword [ebp - 0x1050]
cmp eax, 8
jg 0x402574
lea eax, [ebx + eax*4 + 0xc]
lea ecx, [ebx + 0x30]
lea esi, [esi]
nop
mov dword [eax + 0x50], edx
add edx, dword [eax]
add eax, 4
cmp ecx, eax
jne 0x402568
mov dword [esp + 8], edx
mov edi, dword [ebp - 0x1054]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x194
mov eax, dword [ebx]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x104c]
mov esi, dword [ebp - 0x1058]
mov dword [ebp - 0x818], 1
sub esp, 0x10
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + eax*4 + 8]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [ebp - 0x814], edx
mov dword [esp + 4], 0x120c
mov eax, dword [ebx + 4]
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [ebx]
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_InvalidateRect]
sub esp, 0xc
jmp 0x401752
call sym._set_space_status
jmp 0x401c82
cmp edi, 1
je 0x4028c3
cmp edi, 2
jne 0x401750
lea edx, [esi + 4]
jmp 0x401d6a
mov dword [esp + 0xc], 0
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x188
mov eax, dword [esi + 0x98]
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x199
mov eax, dword [esi + 0x98]
mov dword [esp], eax
call ebx
xor ebx, ebx
mov dword [esi + 0x128], eax
sub esp, 0x10
jmp 0x401752
mov dword [esp], 0xffffffff
mov edx, dword [ebp - 0x104c]
lea eax, [esi + 4]
mov ebx, 1
call sym._draw_item
jmp 0x401752
mov eax, dword [ebp - 0x1040]
lea ecx, [ebp - 0x1038]
mov edx, dword [eax]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x1050]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x41020c
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x28]
sub esp, 0x1c
test eax, eax
jns 0x40292f
mov eax, dword [ebp - 0x1040]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x402282
mov ecx, dword [ebp - 0x1050]
xor edx, edx
lea eax, [esi + 0x164]
call sym._alloc_child_window
mov ebx, eax
call sym._create_child_window
test eax, eax
jne 0x401538
mov dword [esp + 8], ebx
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
jmp 0x401538
mov ecx, dword [ebp - 0x1050]
mov edx, ebx
mov eax, esi
mov ebx, 1
call sym._activate_entry
jmp 0x401752
lea eax, [ebp - 0x818]
lea edi, [ebp - 0x1018]
mov dword [ebp - 0x1058], eax
mov ecx, eax
mov edx, edi
mov eax, ebx
call sym._prompt_target
test eax, eax
je 0x401538
mov eax, dword [ebp - 0x1058]
mov edx, dword [ebp - 0x1050]
xor ebx, ebx
mov dword [ebp - 0x1028], 0
cmp word [ebp - 0x1018], 0
mov word [ebp - 0x101c], bx
mov dword [ebp - 0x102c], eax
mov eax, edi
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x1038], edx
mov dword [ebp - 0x1034], 2
mov dword [ebp - 0x1030], edi
je 0x402809
add eax, 2
cmp word [eax], 0
jne 0x402800
sub eax, edi
xor ecx, ecx
sar eax, 1
cmp word [ebp - 0x818], 0
mov word [ebp + eax*2 - 0x1016], cx
mov eax, dword [ebp - 0x1058]
je 0x401e49
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x402830
jmp 0x401e49
cmp eax, 0x192
jne case.0x401e7b.408
cmp dword [ebx + 0x88], 0x7f
je 0x401538
mov dword [ebx + 0x88], 0x7f
mov edx, 1
mov eax, ebx
call sym._calc_widths
mov eax, ebx
call sym._set_header
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.user32.dll_InvalidateRect]
mov eax, dword [0x40c09c]
mov ebx, dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x191
mov dword [esp], eax
call ebx
sub esp, 0xc
mov dword [esp + 8], 8
jmp 0x401f06
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x188
mov dword [esp], eax
call edi
sub esp, 0x10
mov ebx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x199
mov eax, dword [esi + 4]
mov dword [esp], eax
call edi
mov ecx, ebx
mov edx, eax
mov eax, dword [ebp - 0x1050]
sub esp, 0x10
mov dword [esp], eax
mov eax, esi
call sym._set_curdir
jmp 0x401750
mov eax, esi
call sym._refresh_child
jmp 0x401538
call dword [sym.imp.user32.dll_CreatePopupMenu]
mov ebx, dword [ebp - 0x1038]
mov dword [ebp - 0x818], 0
lea edx, [ebp - 0x818]
mov dword [ebp - 0x1054], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1058], edx
mov dword [0x40cc94], 0
mov dword [0x40cc98], 0
mov dword [esp + 8], edx
mov dword [esp + 4], 0x41022c
mov dword [esp], ebx
call dword [eax]
sub esp, 0xc
test eax, eax
jne 0x402a60
mov eax, dword [ebp - 0x818]
mov dword [0x40cc98], eax
test eax, eax
je 0x4029a9
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 8]
mov ebx, dword [ebp - 0x818]
sub esp, 4
mov edx, dword [ebp - 0x1054]
mov dword [ebp - 0x1038], ebx
test edx, edx
je 0x402a04
mov eax, dword [ebx]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x7fff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [eax + 0xc]
sub esp, 0x18
test eax, eax
jns 0x402a94
mov dword [0x40cc94], 0
mov dword [0x40cc98], 0
mov eax, dword [ebp - 0x1038]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x4026f8
cmp eax, 0x8005
jne case.0x401e7b.408
mov edx, 1
mov eax, ebx
call sym._calc_widths
mov eax, ebx
call sym._set_header
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [ebx]
mov ebx, 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_InvalidateRect]
sub esp, 0xc
jmp 0x401752
mov eax, dword [ebx]
mov edx, dword [ebp - 0x1058]
mov dword [esp + 4], 0x41021c
mov dword [esp], ebx
mov dword [esp + 8], edx
call dword [eax]
sub esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x818]
jne 0x402994
mov dword [0x40cc94], eax
jmp 0x402994
mov eax, dword [ebp - 0x105c]
mov ebx, dword [ebp - 0x1050]
mov dword [esp + 0x18], 0
mov edx, dword [ebp - 0x1054]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x104c]
mov dword [esp + 0x14], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x102
mov dword [esp], edx
call dword [sym.imp.user32.dll_TrackPopupMenu]
mov dword [0x40cc94], 0
mov dword [0x40cc98], 0
sub esp, 0x1c
test eax, eax
je 0x402a04
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp - 0x1038]
mov ecx, dword [ebp - 0x1058]
mov dword [ebp - 0x810], ebx
mov dword [ebp - 0x818], 0x24
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x808], 0
mov dword [ebp - 0x804], 0
mov dword [ebp - 0x800], 1
mov dword [ebp - 0x7fc], 0
mov dword [ebp - 0x7f8], 0
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x10]
mov ebx, eax
mov eax, dword [ebp - 0x1038]
push ecx
push ecx
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push eax
test ebx, ebx
js 0x4026f8
mov eax, esi
call sym._refresh_child
jmp 0x4026f8
mov eax, dword [ebp - 0x1058]
jmp 0x401509