Function at 0x401720
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags
Set registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
mov eax, ecx
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x98
mov ebx, dword [ecx + 4]
mov edi, dword [ecx]
mov esi, dword [eax + 0xc]
mov ecx, dword [ecx + 8]
cmp ebx, 0x7b
je 0x401d70
ja 0x401770
cmp ebx, 0x20
ja 0x4017a0
test ebx, ebx
je case.0x401797.515
cmp ebx, 0x20
nop
ja case.0x401797.515
jmp dword [ebx*4 + 0x41206c]
cmp ebx, 0x215
ja case.0x401797.515
cmp ebx, 0x1ff
jbe 0x401888
lea eax, [ebx - 0x200]
cmp eax, 0x15
ja case.0x401797.515
jmp dword [eax*4 + 0x4120f0]
cmp ebx, 0x4e
jne case.0x401797.515
cmp ecx, 0x7d2
nop
je 0x401e08
cmp ecx, 0x7d3
jne 0x40189c
mov edx, dword [0x416e20]
test edx, edx
je 0x40189c
mov eax, dword [esi + 8]
cmp eax, 0xffffff99
je 0x402409
ja 0x40218e
cmp eax, 0xffffff51
je 0x402473
lea esi, [esi]
ja 0x402141
cmp eax, 0xffffff4f
je 0x4023fa
cmp eax, 0xffffff50
jne 0x40189c
mov eax, dword [esi + 0x10]
mov dword [esp + 4], eax
mov eax, dword [edx + 8]
mov dword [esp], eax
call sym._GetItemText
test eax, eax
mov ebx, eax
je 0x402523
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov eax, dword [0x416e24]
mov dword [esp + 8], eax
mov eax, dword [0x416e28]
mov dword [esp + 4], eax
mov eax, dword [0x416e20]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym._RenameValue
test eax, eax
jne 0x40255a
mov dword [esp + 8], ebx
xor edi, edi
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 0x40189e
cmp ebx, 0x111
je 0x401d30
cmp ebx, 0x113
jne 0x4018ae
xor edi, edi
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp ebx, 0x100
jne case.0x401797.515
cmp ecx, 0x1b
jne 0x40189c
call sym._GetCapture_0
cmp eax, edi
mov ebx, eax
jne 0x40189c
mov edx, dword [section..bss]
mov edi, 0xffffffff
call sym._draw_splitbar
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._GetClientRect_8
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
sub esp, 8
call sym._ResizeWnd
mov dword [section..bss], edi
xor edi, edi
call sym._ReleaseCapture_0
mov eax, 0x7f00
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._LoadCursorW_8
sub esp, 8
mov dword [esp], eax
call sym._SetCursor_4
sub esp, 4
jmp 0x40189e
cmp ecx, 1
je case.0x401797.515
mov eax, dword [0x416e20]
test eax, eax
je case.0x401797.515
mov dword [ebp - 0x6c], ecx
mov edx, esi
movzx eax, si
shr edx, 0x10
call sym._ResizeWnd
mov ecx, dword [ebp - 0x6c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], edi
call sym._DefWindowProcW_16
sub esp, 0x10
mov edi, eax
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
call sym._GetCapture_0
cmp edi, eax
jne 0x40189c
mov edx, dword [section..bss]
test edx, edx
js 0x40189c
mov eax, edi
xor edi, edi
call sym._draw_splitbar
jmp 0x40189e
mov dword [esp], 0x248
call sym._heap_xalloc
mov dword [0x416e20], eax
test eax, eax
je 0x40189c
add eax, 0x40
mov edx, 0x104
mov dword [esp + 8], eax
mov eax, dword [0x416ec0]
mov ecx, 0xa0
mov dword [esp + 0xc], edx
mov esi, 0x7d2
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._LoadStringW_16
mov eax, dword [0x416e20]
mov dword [eax], edi
mov dword [eax + 0x10], 0xfa
mov ebx, dword [0x416e20]
sub esp, 0x10
mov dword [esp], edi
mov dword [esp + 8], esi
lea eax, [ebx + 0x40]
mov dword [esp + 4], eax
call sym._CreateTreeView
mov dword [ebx + 4], eax
mov eax, 0x7d3
mov ebx, dword [0x416e20]
mov dword [esp], edi
xor edi, edi
mov dword [esp + 4], eax
call sym._CreateListView
mov dword [ebx + 8], eax
mov eax, dword [0x416e20]
mov dword [eax + 0xc], 1
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._SetFocus_4
mov eax, dword [0x416e20]
mov eax, dword [eax + 4]
sub esp, 4
call sym._get_last_key
jmp 0x40189e
xor eax, eax
xor edx, edx
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x58]
xor ecx, ecx
mov dword [esp + 0x1c], eax
xor eax, eax
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
mov dword [esp + 0x18], eax
mov eax, 0x20006
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], 0x80000001
call sym._RegCreateKeyExW_36
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0x24
test eax, eax
je 0x401ec8
mov ecx, dword [0x416e20]
xor esi, esi
xor edi, edi
mov dword [esp + 4], esi
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov dword [0x416e20], edi
xor edi, edi
sub esp, 0xc
mov dword [esp], 0
call sym._PostQuitMessage_4
sub esp, 4
jmp 0x40189e
cmp si, 1
jne case.0x401797.515
mov dword [ebp - 0x6c], ecx
lea edx, [ebp - 0x58]
mov dword [esp], edx
call sym._GetCursorPos_4
lea edx, [ebp - 0x58]
sub esp, 4
mov dword [esp + 4], edx
mov dword [esp], edi
call sym._ScreenToClient_8
mov eax, dword [0x416e20]
mov edx, dword [ebp - 0x58]
mov eax, dword [eax + 0x10]
sub esp, 8
lea ecx, [eax - 2]
cmp edx, ecx
mov ecx, dword [ebp - 0x6c]
jl case.0x401797.515
add eax, 2
cmp edx, eax
jg case.0x401797.515
mov dword [esp], 0
mov esi, 0x7f84
mov edi, 1
mov dword [esp + 4], esi
call sym._LoadCursorW_8
sub esp, 8
mov dword [esp], eax
call sym._SetCursor_4
sub esp, 4
jmp 0x40189e
call sym._GetCapture_0
cmp edi, eax
jne 0x40189c
mov dword [esp], edi
movzx esi, si
call sym._GetDC_4
lea edx, [ebp - 0x58]
sub esp, 4
mov ebx, eax
mov dword [esp + 4], edx
mov dword [esp], edi
call sym._GetClientRect_8
mov eax, dword [section..bss]
lea edx, [ebp - 0x58]
lea ecx, [eax - 2]
add eax, 3
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], eax
sub esp, 8
mov dword [esp + 4], edx
mov dword [esp], ebx
call sym._InvertRect_8
lea edx, [ebp - 0x58]
mov dword [section..bss], esi
lea eax, [esi - 2]
add esi, 3
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], esi
sub esp, 8
mov dword [esp + 4], edx
mov dword [esp], ebx
call sym._InvertRect_8
sub esp, 8
mov dword [esp], edi
xor edi, edi
mov dword [esp + 4], ebx
call sym._ReleaseDC_8
sub esp, 8
jmp 0x40189e
mov dword [esp], edi
lea eax, [ebp - 0x58]
movsx esi, si
mov dword [esp + 4], eax
call sym._GetClientRect_8
mov eax, dword [0x416e20]
mov edx, dword [eax + 0x10]
sub esp, 8
lea eax, [edx - 2]
cmp eax, esi
jg 0x40189c
lea eax, [edx + 2]
cmp eax, esi
jl 0x40189c
mov dword [section..bss], edx
mov eax, edi
call sym._draw_splitbar
mov dword [esp], edi
call sym._SetCapture_4
sub esp, 4
jmp 0x40189c
call sym._GetCapture_0
cmp edi, eax
nop
jne 0x40189c
mov edx, dword [section..bss]
mov eax, edi
and esi, 0xffff
call sym._draw_splitbar
lea eax, [ebp - 0x58]
mov ecx, 0xffffffff
mov dword [esp], edi
xor edi, edi
mov dword [esp + 4], eax
mov dword [section..bss], ecx
call sym._GetClientRect_8
mov eax, dword [0x416e20]
mov dword [eax + 0x10], esi
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
sub esp, 8
call sym._ResizeWnd
call sym._ReleaseCapture_0
jmp 0x40189e
mov eax, dword [0x416e20]
test eax, eax
je 0x40189c
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 8]
test esi, esi
cmove edx, dword [eax + 4]
xor edi, edi
mov dword [esp], edx
call sym._SetFocus_4
sub esp, 4
jmp 0x40189e
mov dword [esp], edi
lea esi, [ebp - 0x68]
mov dword [esp + 4], esi
lea ebx, [ebp - 0x58]
call sym._GetClientRect_8
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], ebx
call sym._BeginPaint_8
sub esp, 8
mov dword [esp], 0xf
call sym._GetSysColorBrush_4
sub esp, 4
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._FillRect_12
sub esp, 0xc
mov dword [esp], edi
xor edi, edi
mov dword [esp + 4], ebx
call sym._EndPaint_8
sub esp, 8
jmp 0x40189e
cmp cx, 0x8008
movzx eax, cx
je 0x402098
cmp eax, 0x8067
je 0x401e98
cmp eax, 0x8002
jne case.0x401797.515
mov dword [esp], edi
xor edi, edi
call sym._DestroyWindow_4
sub esp, 4
jmp 0x40189e
mov eax, dword [0x416e20]
movsx ebx, si
sar esi, 0x10
cmp dword [eax + 4], ecx
je 0x401fe0
mov edx, 0xffffffff
mov ecx, 0x100c
mov dword [esp + 8], edx
mov edi, 2
mov dword [esp + 0xc], edi
mov dword [esp + 4], ecx
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
inc eax
setne al
movzx eax, al
add eax, 2
mov dword [esp + 4], eax
mov eax, dword [0x416c40]
mov edi, dword [0x416ec8]
mov dword [esp], eax
call sym._GetSubMenu_8
xor edx, edx
xor ecx, ecx
sub esp, 8
mov dword [esp + 8], ebx
mov ebx, 2
mov dword [esp + 0x14], edi
xor edi, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._TrackPopupMenu_28
sub esp, 0x1c
jmp 0x40189e
mov eax, dword [0x416e20]
test eax, eax
je 0x40189c
mov edx, dword [esi + 8]
cmp edx, 0xfffffe3a
je 0x402257
ja 0x40211e
cmp edx, 0xfffffe34
je 0x402273
cmp edx, 0xfffffe35
jne 0x40189c
mov ebx, 0xffffffeb
mov dword [esp + 4], ebx
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetWindowLongW_8
sub esp, 8
test eax, eax
je 0x401e8a
mov dword [esp + 4], 0
lea eax, [ebp - 0x58]
mov dword [esp + 8], eax
mov eax, dword [0x416e20]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetItemPath
test eax, eax
je 0x401e8a
cmp word [eax], 0
jne 0x40189c
mov edi, 1
jmp 0x40189e
mov eax, dword [0x416e20]
xor edx, edx
mov ecx, dword [eax + 0xc]
test ecx, ecx
sete dl
mov dword [eax + 0xc], edx
mov edx, dword [eax + 8]
cmovne edx, dword [eax + 4]
xor edi, edi
mov dword [esp], edx
call sym._SetFocus_4
sub esp, 4
jmp 0x40189e
xor eax, eax
mov edx, 0x110a
mov dword [esp + 0xc], eax
mov eax, 9
xor edi, edi
mov dword [esp + 8], eax
mov eax, dword [0x416e20]
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._SendMessageW_16
xor ecx, ecx
sub esp, 0x10
mov esi, eax
mov dword [esp + 0xc], ecx
mov eax, 0x110a
mov dword [esp + 4], eax
mov eax, dword [0x416e20]
mov dword [esp + 8], edi
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._SendMessageW_16
mov dword [ebp - 0x6c], eax
sub esp, 0x10
cmp esi, eax
je 0x4020d3
mov dword [esp + 4], esi
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [0x416e20]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetItemFullPath
cmp word [eax], 0
mov edi, eax
je 0x402390
mov ecx, dword [ebp - 0x58]
mov eax, edi
lea esi, [esi]
lea edi, [edi]
add eax, 2
cmp word [eax], 0
jne 0x401f60
mov dword [esp + 0x10], edi
sub eax, edi
mov ebx, 1
mov dword [esp + 0xc], ebx
add eax, 2
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, str.LastKey
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym._RegSetValueExW_24
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0x18
cmp esi, dword [ebp - 0x6c]
je 0x401fc8
mov dword [esp + 8], edi
xor edx, edx
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
jmp 0x401aac
mov dword [ebp - 0x58], ebx
lea edi, [ebp - 0x58]
mov dword [ebp - 0x54], esi
mov dword [esp + 4], edi
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._ScreenToClient_8
xor eax, eax
mov edx, 0x1111
sub esp, 8
mov dword [esp + 8], eax
mov eax, dword [0x416e20]
mov dword [esp + 4], edx
mov dword [esp + 0xc], edi
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._SendMessageW_16
mov edx, eax
sub esp, 0x10
test edx, edx
mov eax, 0xffffffff
je 0x401db7
mov eax, dword [ebp - 0x4c]
mov edi, 9
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, 0x110b
mov dword [esp + 4], eax
mov eax, dword [0x416e20]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, 0x110a
mov dword [esp + 4], eax
mov eax, dword [0x416e20]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
cmp dword [ebp - 0x4c], eax
setne al
movzx eax, al
jmp 0x401db7
test byte [section..data], 8
je 0x40189c
mov dword [esp], 3
mov eax, str._CmdWndProc
mov edi, str.Is_this_ever_called_or_is_it_just_dead_code__n
mov dword [esp + 8], eax
mov eax, section..data
mov dword [esp + 0xc], edi
xor edi, edi
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x40189e
mov eax, dword [0x416e20]
mov ecx, dword [ebp - 0x58]
cmp word [eax + 0x40], 0
lea edi, [eax + 0x40]
jne 0x401f51
mov dword [esp + 0x10], edi
mov eax, 2
mov edx, 1
mov dword [esp + 0x14], eax
xor esi, esi
mov edi, str.LastKey
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ecx
call sym._RegSetValueExW_24
sub esp, 0x18
jmp 0x401fc8
cmp edx, 0xfffffe3d
je 0x4022fc
cmp edx, 0xfffffff9
jne 0x40189c
mov dword [eax + 0xc], 0
xor edi, edi
jmp 0x40189e
cmp eax, 0xffffff94
jne 0x40189c
mov eax, dword [esi + 0x10]
cmp eax, dword [0x411144]
je 0x402512
mov dword [0x411144], eax
xor eax, eax
mov dword [0x4169e0], eax
mov eax, dword [edx + 8]
xor edi, edi
mov dword [esp + 0xc], sym._CompareFunc_12
mov dword [esp + 4], 0x1030
mov dword [esp + 8], eax
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x40189e
cmp eax, 0xfffffffc
je 0x4023c8
cmp eax, 0xfffffffd
jne 0x402240
cmp dword [esi + 0xc], 0xffffffff
je 0x40189c
mov dword [ebp - 0x4c], 0
lea ebx, [ebp - 0x58]
mov dword [ebp - 0x48], 3
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x102b
mov eax, dword [edx + 8]
mov dword [esp], eax
call sym._SendMessageW_16
mov dword [ebp - 0x4c], 3
mov dword [ebp - 0x48], 3
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov eax, dword [esi + 0xc]
mov dword [esp + 4], 0x102b
mov dword [esp + 8], eax
mov eax, dword [0x416e20]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], 0
mov eax, dword [0x416ec8]
xor edi, edi
mov dword [esp + 8], 0x8010
mov dword [esp + 4], 0x111
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x40189e
cmp eax, 0xfffffff9
jne 0x40189c
mov dword [edx + 0xc], 1
xor edi, edi
jmp 0x40189e
mov dword [esp + 4], esi
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._OnTreeExpanding
test eax, eax
sete al
movzx edi, al
jmp 0x40189e
lea edx, [ebp - 0x68]
mov dword [esp + 8], edx
xor edx, edx
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetItemPath
mov ebx, eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 8], ebx
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 4], eax
call sym._RenameKey
xor ecx, ecx
mov dword [esp + 8], ebx
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], ecx
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
test edi, edi
jne 0x402482
xor eax, eax
mov dword [esp + 8], eax
mov eax, 0xffffffeb
mov dword [esp + 4], eax
mov eax, dword [0x416e20]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._SetWindowLongW_12
sub esp, 0xc
jmp 0x40189e
mov ebx, dword [eax + 4]
mov edi, dword [esi + 0x3c]
mov esi, dword [eax + 8]
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, 0x110a
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [ebp - 0x58], 0
call sym._SendMessageW_16
sub esp, 0x10
cmp edi, eax
je 0x40252b
mov dword [esp + 4], edi
lea eax, [ebp - 0x58]
xor edi, edi
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._GetItemPath
xor edx, edx
mov dword [esp + 0xc], edx
mov dword [esp], esi
mov dword [esp + 8], eax
mov ebx, eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], eax
call sym._RefreshListView
xor ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
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
call sym._UpdateStatusBar
jmp 0x40189e
mov dword [esp + 0x10], edi
mov eax, 2
mov dword [esp + 0x14], eax
mov eax, 1
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, str.LastKey
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call sym._RegSetValueExW_24
sub esp, 0x18
jmp 0x401fa4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x100c
mov eax, dword [edx + 8]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
inc eax
je 0x40189c
jmp 0x402211
mov dword [esp], esi
xor edi, edi
call sym._OnGetDispInfo
jmp 0x40189e
mov edi, dword [esi + 0x28]
mov esi, dword fs:[0x18]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [edi]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [edi + 8]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov dword [esp + 8], edi
xor edi, edi
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
jmp 0x40189e
cmp dword [esi + 0x10], 0
sete al
movzx edi, al
jmp 0x40189e
mov dword [ebp - 0x58], 0x11
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x113f
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [0x416e20]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._SendMessageW_16
lea eax, [ebp - 0x68]
sub esp, 0x10
mov dword [esp + 8], eax
mov eax, dword [0x416e20]
mov dword [esp + 4], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._GetItemPath
mov dword [esp], eax
mov esi, eax
call sym._update_listview_path
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 ebx
sub esp, 0xc
call sym._UpdateStatusBar
jmp 0x4022d5
xor eax, eax
cmp dword [0x4169e0], 0
sete al
jmp 0x402160
or edi, 0xffffffff
jmp 0x40189e
mov dword [esp + 0xc], 0
xor edi, edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1009
mov dword [esp], esi
call sym._SendMessageW_16
sub esp, 0x10
call sym._UpdateStatusBar
jmp 0x40189e
mov dword [esi + 0x14], 0
lea eax, [esi + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 4], 0x1074
mov dword [esp + 8], eax
mov eax, dword [0x416e20]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x40185d