Function at 0x40381d
Capabilities:
Get common file path
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
mov eax, 0x10f8
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 edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x10bc], eax
mov eax, dword [ecx + 4]
cmp eax, 0x111
je 0x403558
ja 0x4032a0
cmp eax, 0x10
je 0x403600
jbe 0x403340
cmp eax, 0x24
jne 0x403518
shl dword [esi + 0x20], 1
shl dword [esi + 0x24], 1
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 eax, 0x219
je 0x403670
cmp eax, 0xbf83
jne 0x40339b
mov edi, dword [ebp - 0x10bc]
mov dword [esp], edi
call dword [sym.imp.user32.dll_IsIconic]
sub esp, 4
test eax, eax
jne 0x403400
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetClientRect]
sub esp, 8
mov eax, dword [0x40c0ac]
mov ebx, dword [sym.imp.user32.dll_IsWindowVisible]
mov dword [esp], eax
call ebx
sub esp, 4
test eax, eax
jne 0x403ca8
mov eax, dword [0x40c0b0]
mov dword [esp], eax
call ebx
sub esp, 4
test eax, eax
jne 0x403c78
mov eax, dword [0x40c0a8]
mov dword [esp], eax
call ebx
sub esp, 4
test eax, eax
jne 0x403c48
lea esp, [ebp - 0x10]
mov ebx, 1
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp eax, 2
je 0x4034f0
cmp eax, 5
jne 0x403518
mov dword [ebp - 0x818], 0
mov eax, esi
mov edx, esi
xor ebx, ebx
and eax, 0xffff
shr edx, 0x10
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x818]
mov dword [ebp - 0x80c], edx
call sym._resize_frame_rect.constprop.0
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp eax, 0x117
jne 0x403518
mov eax, dword [0x40c0a4]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x229
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0x117
mov dword [esp], eax
call ebx
xor ebx, ebx
sub esp, 0x10
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [ebp - 0x818], 0x2c
lea eax, [ebp - 0x818]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10bc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowPlacement]
mov eax, dword [sym.imp.user32.dll_GetSystemMetrics]
mov dword [esi + 4], 0
sub esp, 8
mov dword [esi], 0
mov edi, dword [ebp - 0x7f4]
mov dword [esp], 0x20
sub edi, dword [ebp - 0x7fc]
mov dword [ebp - 0x10bc], eax
call eax
sub esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x10bc]
mov dword [esp], 0x2d
call eax
add ebx, eax
sub esp, 4
neg ebx
lea eax, [edi + ebx*2]
mov edi, dword [ebp - 0x7f0]
sub edi, dword [ebp - 0x7f8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10bc]
mov dword [esp], 0x21
call eax
sub esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x10bc]
mov dword [esp], 0x2e
call eax
mov edx, dword [ebp - 0x10bc]
sub esp, 4
mov dword [ebp - 0x10c0], eax
mov dword [esp], 4
call edx
mov edx, dword [ebp - 0x10bc]
sub esp, 4
sub edi, eax
mov dword [esp], 0x37
call edx
add ebx, dword [ebp - 0x10c0]
neg ebx
sub edi, eax
sub esp, 4
lea eax, [edi + ebx*2]
mov dword [esi + 0xc], eax
jmp 0x4032e0
mov dword [esp], 0
xor ebx, ebx
call dword [sym.imp.user32.dll_PostQuitMessage]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov eax, dword [0x40c0a4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10bc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DefFrameProcW]
sub esp, 0x14
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 ebx, dword [sym.imp.user32.dll_SendMessageW]
mov eax, dword [0x40c0a4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [ebp - 0x10c8], ebx
mov dword [esp + 4], 0x229
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0xbf80
mov dword [esp], eax
call ebx
sub esp, 0x10
mov ebx, eax
test eax, eax
jne 0x403289
movzx eax, di
lea ecx, [eax - 0x9002]
cmp ecx, 0xff
jbe 0x4036b0
cmp eax, 0x6a8
je 0x404308
ja 0x403f60
mov edx, edi
and edx, 0xfe00
jne 0x40463c
cmp eax, 0x1f6
jbe 0x403efd
lea ecx, [eax - 0x1f7]
cmp ecx, 8
ja case.0x403f85.57653
jmp dword [ecx*4 + 0x40d048]
mov eax, dword [0x40c8cc]
test eax, eax
jne 0x403cd8
mov eax, dword [ebp - 0x10bc]
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
mov eax, ebx
mov dword [0x40c090], 0
mov dword [0x40c09c], 0
sub esp, 4
mov dword [0x40c0a0], 0
mov dword [0x40c08c], 0
mov dword [0x40c0a4], 0
mov dword [0x40c0b0], 0
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [ebp - 0x10bc]
mov dword [esp + 0xc], 0
xor ebx, ebx
mov dword [esp + 8], 0x6a8
mov dword [esp + 4], 0x111
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov eax, ebx
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
sub eax, 0x9003
mov esi, 0x40c0c8
test ecx, ecx
jne 0x4036c3
jmp 0x4036d1
add esi, 2
cmp word [esi], 0
jne 0x4036c0
add esi, 2
sub eax, 1
jae 0x4036c3
lea eax, [ebp - 0x1018]
mov dword [esp + 0x10], 0
mov dword [esp + 4], eax
mov dword [ebp - 0x10c0], eax
mov eax, dword [sym.imp.ucrtbase.dll__wsplitpath]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [ebp - 0x10c4], eax
call eax
mov eax, dword [0x40c0a4]
mov dword [esp + 4], 5
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetWindow]
mov dword [ebp - 0x10cc], eax
call eax
sub esp, 8
test eax, eax
je 0x4037dc
mov edx, dword [sym.imp.user32.dll_GetWindowLongW]
mov edi, dword [ebp - 0x10cc]
mov dword [ebp - 0x10d4], esi
mov dword [ebp - 0x10d0], ebx
mov ebx, eax
mov esi, edx
lea esi, [esi]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
je 0x4037ba
lea edx, [ebp - 0x818]
add eax, 0x828
mov dword [esp + 0x10], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x10c4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edx
call eax
mov eax, dword [ebp - 0x10c0]
mov dword [esp + 4], eax
lea eax, [ebp - 0x818]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
je 0x404293
mov dword [esp], ebx
mov dword [esp + 4], 2
call edi
sub esp, 8
mov ebx, eax
test eax, eax
jne 0x403750
mov esi, dword [ebp - 0x10d4]
mov ebx, dword [ebp - 0x10d0]
mov edi, dword [ebp - 0x10c0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x10c4]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], esi
call eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
sub esp, 4
test eax, eax
je 0x4042ef
lea edi, [ebp - 0x818]
mov dword [esp], 0x104
mov dword [esp + 4], edi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov ecx, dword [ebp - 0x10bc]
xor edx, edx
sub esp, 8
mov eax, edi
call sym._alloc_child_window
mov esi, eax
call sym._create_child_window
test eax, eax
jne 0x40328b
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]
sub esp, 0xc
jmp 0x40328b
lea ecx, [eax - 0xc000]
cmp ecx, 0xff
jbe 0x40389c
sub eax, 0xf000
cmp eax, 0x120
ja 0x40463c
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x111
jmp 0x403524
mov ecx, dword [0x40c8cc]
xor eax, eax
mov dword [esp + 4], 0x1ff
test ecx, ecx
sete al
mov dword [0x40c8cc], eax
mov eax, 8
cmove edx, eax
mov eax, dword [0x40c0a0]
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
jmp 0x40328b
mov eax, dword [ebp - 0x10bc]
lea edi, [ebp - 0x1074]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDC]
mov dword [ebp - 0x10c0], eax
mov esi, eax
mov eax, dword [0x40c0b4]
sub esp, 4
mov dword [esp + 8], edi
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GetObjectW]
mov eax, dword [ebp - 0x10bc]
mov dword [ebp - 0x10b0], 0x3c
sub esp, 0xc
mov dword [ebp - 0x10a4], edi
mov dword [ebp - 0x10ac], eax
mov eax, dword [0x40c080]
mov dword [ebp - 0x10a8], 0
mov dword [ebp - 0x1088], eax
mov eax, 0xffff8000
mov word [ebp - 0x1080], ax
lea eax, [ebp - 0x10b0]
mov dword [ebp - 0x109c], 0x1812041
mov dword [ebp - 0x1098], 0
mov dword [ebp - 0x1094], 0
mov dword [ebp - 0x1090], 0
mov dword [ebp - 0x108c], 0
mov dword [ebp - 0x1084], 0
mov dword [ebp - 0x107c], 0
mov dword [ebp - 0x1078], 0x18
mov dword [esp], eax
call dword [sym.imp.comdlg32.dll_ChooseFontW]
sub esp, 4
test eax, eax
je 0x40452d
mov eax, dword [0x40c0b4]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
push eax
mov dword [esp], edi
call dword [sym.imp.gdi32.dll_CreateFontIndirectW]
push edx
mov dword [0x40c0b4], eax
mov dword [esp + 4], eax
mov eax, dword [sym.imp.gdi32.dll_SelectObject]
mov dword [esp], esi
mov dword [ebp - 0x10d4], eax
call eax
push ecx
push ecx
mov dword [ebp - 0x10d0], eax
mov dword [esp], esi
mov dword [esp + 0xc], 0x40c0bc
mov dword [esp + 8], 1
mov dword [esp + 4], 0x415c14
call dword [sym.imp.gdi32.dll_GetTextExtentPoint32W]
mov eax, dword [0x40c0a4]
sub esp, 0x10
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetWindow]
mov dword [esp + 4], 5
mov dword [ebp - 0x10cc], eax
call eax
mov ecx, eax
push esi
push esi
test eax, eax
je 0x403bb3
mov eax, dword [sym.imp.user32.dll_GetWindowLongW]
mov dword [ebp - 0x10d8], ebx
mov edi, 0x10
mov ebx, ecx
mov dword [ebp - 0x10c4], eax
mov dword [esp], ebx
mov eax, dword [ebp - 0x10c4]
mov dword [esp + 4], 0xffffffeb
call eax
mov esi, eax
mov eax, dword [0x40c0b4]
sub esp, 8
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [esi + 4]
mov dword [esp], eax
mov eax, dword [ebp - 0x10c8]
call eax
mov eax, dword [0x40c0b4]
sub esp, 0x10
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [esi + 0x98]
mov dword [esp], eax
mov eax, dword [ebp - 0x10c8]
call eax
mov edx, edi
sub esp, 0x10
cmp dword [0x40c0c0], 0x10
cmovge edx, dword [0x40c0c0]
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x1a0
mov eax, dword [esi + 4]
mov dword [esp], eax
mov eax, dword [ebp - 0x10c8]
call eax
mov edx, edi
sub esp, 0x10
cmp dword [0x40c0c0], 0x10
cmovge edx, dword [0x40c0c0]
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x1a0
mov eax, dword [esi + 0x98]
mov dword [esp], eax
mov eax, dword [ebp - 0x10c8]
call eax
sub esp, 0x10
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [esi + 4]
mov dword [esp], eax
call dword [sym.imp.user32.dll_InvalidateRect]
sub esp, 0xc
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [esi + 0x98]
mov dword [esp], eax
call dword [sym.imp.user32.dll_InvalidateRect]
mov eax, dword [ebp - 0x10cc]
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], 2
call eax
sub esp, 8
mov ebx, eax
test eax, eax
jne 0x403a70
mov ebx, dword [ebp - 0x10d8]
mov eax, dword [ebp - 0x10d0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10c0]
mov dword [esp], eax
mov eax, dword [ebp - 0x10d4]
call eax
push esi
push esi
mov eax, dword [ebp - 0x10c0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10bc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_ReleaseDC]
sub esp, 8
jmp 0x40328b
mov ecx, dword [0x40c0ac]
mov eax, dword [ebp - 0x10bc]
mov edx, 0x1fc
call sym._toggle_child
jmp 0x40328b
mov ecx, dword [0x40c0a8]
mov eax, dword [ebp - 0x10bc]
mov edx, 0x1f7
call sym._toggle_child
jmp 0x40328b
mov ecx, dword [0x40c0b0]
mov eax, dword [ebp - 0x10bc]
mov edx, 0x1fb
call sym._toggle_child
jmp 0x40328b
lea eax, [ebp - 0x818]
mov dword [esp + 4], eax
mov eax, dword [0x40c0a8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x80c]
sub dword [esi + 0xc], eax
sub esp, 8
jmp 0x403325
lea eax, [ebp - 0x818]
mov dword [esp + 4], eax
mov eax, dword [0x40c0b0]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x80c]
sub esp, 8
add eax, 2
add dword [esi + 4], eax
jmp 0x403310
lea eax, [ebp - 0x818]
mov dword [esp + 4], eax
mov eax, dword [0x40c0ac]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x80c]
sub esp, 8
add eax, 2
add dword [esi + 4], eax
jmp 0x4032fb
lea eax, [ebp - 0x1018]
lea ebx, [ebp - 0x10b4]
mov dword [ebp - 0x1018], 0x3c
mov dword [esp + 4], eax
mov eax, dword [0x40c08c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowInfo]
mov eax, dword [ebp - 0x100c]
sub eax, dword [ebp - 0x1014]
sub esp, 8
mov dword [ebp - 0x10b0], eax
mov eax, dword [ebp - 0x1008]
sub eax, dword [ebp - 0x1010]
mov dword [esp + 0x10], ebx
mov dword [ebp - 0x1074], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareWineWineFile
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
je 0x403dab
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareWineWineFile
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
jne 0x40360d
lea eax, [ebp - 0x1014]
mov ebx, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0x14], 4
lea edi, [ebp - 0x818]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10b4]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.startX
mov dword [esp], eax
call ebx
lea eax, [ebp - 0x1010]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10b4]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.startY
mov dword [esp], eax
call ebx
lea eax, [ebp - 0x10b0]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10b4]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.width
mov dword [esp], eax
call ebx
lea eax, [ebp - 0x1074]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10b4]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.height
mov dword [esp], eax
call ebx
mov eax, dword [0x40c0b4]
sub esp, 0x18
mov dword [esp + 8], edi
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GetObjectW]
mov eax, dword [ebp - 0x10b4]
sub esp, 0xc
mov dword [esp + 0x14], 0x5c
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.logfont
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x10b4]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x40360d
cmp eax, 0xfc
je 0x404392
jbe 0x404250
cmp eax, 0xfd
jne 0x40463c
mov edi, dword [ebp - 0x10bc]
mov dword [esp + 4], 1
mov dword [esp], edi
call sym._WNetDisconnectDialog_8
sub esp, 8
mov edx, eax
test eax, eax
je 0x404308
cmp eax, 0xffffffff
je 0x403289
cmp eax, 0x4b8
je 0x4046c9
mov eax, edi
call sym._display_error
jmp 0x40328b
cmp eax, 0xe146
ja case.0x403f85.57653
cmp eax, 0xe12f
jbe 0x404060
lea ecx, [eax - 0xe130]
cmp ecx, 0x16
ja case.0x403f85.57653
jmp dword [ecx*4 + 0x40d06c]
mov eax, dword [0x40c080]
lea edi, [ebp - 0x1018]
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], edi
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [ebp - 0x10bc]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_WinHelpW]
sub esp, 0x10
jmp 0x40328b
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x226
mov eax, dword [0x40c0a4]
mov dword [esp], eax
mov eax, dword [ebp - 0x10c8]
call eax
sub esp, 0x10
jmp 0x40328b
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
jmp 0x403ff2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x227
jmp 0x403ffa
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x228
jmp 0x403ffa
cmp eax, 0x8004
je 0x4043d9
cmp eax, 0x9001
jne 0x4041b0
lea eax, [ebp - 0x1018]
mov dword [esp + 0xc], 0x400
mov dword [ebp - 0x10c0], eax
mov dword [esp + 8], eax
mov eax, dword [0x40c080]
mov dword [esp + 4], 0x4b5
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [0x40c0a4]
sub esp, 0x10
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetWindow]
mov dword [esp + 4], 5
mov dword [ebp - 0x10cc], eax
call eax
sub esp, 8
mov edi, eax
test eax, eax
je 0x404135
mov eax, dword [sym.imp.user32.dll_GetWindowLongW]
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
mov dword [ebp - 0x10c4], ebx
mov ebx, eax
mov dword [esp + 4], 0xffffffeb
mov dword [esp], edi
call ebx
sub esp, 8
test eax, eax
je 0x404113
mov edx, dword [ebp - 0x10c0]
add eax, 0xc30
mov dword [esp], eax
mov dword [esp + 4], edx
call esi
sub esp, 8
test eax, eax
je 0x404631
mov dword [esp], edi
mov eax, dword [ebp - 0x10cc]
mov dword [esp + 4], 2
call eax
sub esp, 8
mov edi, eax
test eax, eax
jne 0x4040e0
mov ebx, dword [ebp - 0x10c4]
lea edi, [ebp - 0x818]
mov dword [esp], 0x104
mov dword [esp + 4], edi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov esi, dword [ebp - 0x10bc]
lea ecx, [ebp - 0x10b0]
push eax
push eax
mov eax, dword [0x40c8d0]
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
lea ecx, [ebp - 0x1074]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x1c
test eax, eax
js 0x4046d9
mov edx, dword [ebp - 0x10b0]
mov ecx, dword [ebp - 0x10bc]
jmp 0x40383f
cmp eax, 0x70b
jne case.0x403f85.57653
mov eax, dword [0x40c080]
mov dword [esp + 0x14], 0x8000
lea esi, [ebp - 0x1018]
mov dword [esp + 0x10], 0x30
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], 1
mov dword [esp + 4], 0x64
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadImageW]
mov edi, eax
mov eax, dword [0x40c080]
sub esp, 0x18
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [ebp - 0x10bc]
sub esp, 0x10
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.shell32.dll_ShellAboutW]
sub esp, 0x10
jmp 0x40328b
cmp eax, 0x69
je 0x404312
cmp eax, 0x73
jne 0x40463c
mov eax, dword [ebp - 0x10bc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x10c8]
mov dword [esp + 4], 0x10
call eax
sub esp, 0x10
jmp 0x40328b
mov edi, ebx
mov ebx, dword [ebp - 0x10d0]
mov eax, dword [0x40c0a4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x10c8]
mov dword [esp + 4], 0x222
call eax
sub esp, 0x10
mov dword [esp], edi
call dword [sym.imp.user32.dll_IsIconic]
sub esp, 4
test eax, eax
je 0x40328b
mov dword [esp + 4], 1
mov dword [esp], edi
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
jmp 0x40328b
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x10bc]
call sym._display_error
jmp 0x40328b
call sym._refresh_drives
jmp 0x40328b
mov dword [esp], str.SHELL32.DLL
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov edi, eax
mov eax, dword [0x40c080]
sub esp, 4
mov dword [esp + 4], 0x64
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadIconW]
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x3d
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x403289
mov edx, dword [ebp - 0x10bc]
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], edx
call eax
sub esp, 0x18
jmp 0x40328b
mov eax, dword [ebp - 0x10bc]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._WNetConnectionDialog_8
sub esp, 8
mov edx, eax
test eax, eax
je 0x404308
cmp eax, 0xffffffff
je 0x403289
cmp eax, 0x4b8
je 0x4046c9
mov eax, dword [ebp - 0x10bc]
call sym._display_error
jmp 0x40328b
mov edx, dword [0x40c928]
xor eax, eax
test edx, edx
sete al
mov dword [0x40c928], eax
jne 0x4045c2
mov esi, dword [ebp - 0x10bc]
mov dword [esp + 4], 0x40c92c
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetWindowRect]
push edi
push edi
lea edi, [ebp - 0x818]
mov dword [esp], esi
call dword [sym.imp.user32.dll_IsZoomed]
push edx
mov dword [0x40c93c], eax
mov eax, dword [ebp - 0x10c8]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xbf83
mov dword [esp], esi
call eax
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.user32.dll_MapWindowPoints]
mov eax, dword [0x40c92c]
sub eax, dword [ebp - 0x818]
mov dword [ebp - 0x818], eax
sub esp, 0x10
mov eax, dword [0x40c930]
sub eax, dword [ebp - 0x814]
mov edi, dword [sym.imp.user32.dll_GetSystemMetrics]
mov dword [esp], 0
mov dword [ebp - 0x814], eax
call edi
add eax, dword [0x40c934]
sub eax, dword [ebp - 0x810]
push ecx
mov dword [ebp - 0x810], eax
mov dword [esp], 1
call edi
mov ecx, dword [ebp - 0x814]
add eax, dword [0x40c938]
sub eax, dword [ebp - 0x80c]
mov edx, dword [ebp - 0x818]
push edi
mov dword [ebp - 0x80c], eax
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0x14], 1
sub eax, edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [sym.imp.user32.dll_MoveWindow]
sub esp, 0x18
mov edx, dword [0x40c928]
xor eax, eax
mov dword [esp + 4], 0x8004
test edx, edx
setne al
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [0x40c0a0]
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
jmp 0x40328b
call dword [sym.imp.comdlg32.dll_CommDlgExtendedError]
test eax, eax
je 0x403bd0
mov ecx, dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [0x40c080]
lea esi, [ebp - 0x1018]
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], esi
lea edi, [ebp - 0x818]
mov dword [ebp - 0x10c4], ecx
mov dword [esp + 4], 0x44d
mov dword [esp], eax
call ecx
mov eax, dword [0x40c080]
mov ecx, dword [ebp - 0x10c4]
sub esp, 0x10
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], edi
mov dword [esp + 4], 0x44f
mov dword [esp], eax
call ecx
mov eax, dword [ebp - 0x10bc]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
jmp 0x403bd0
mov ecx, dword [0x40c930]
mov eax, dword [0x40c938]
mov dword [esp + 0x14], 1
mov edx, dword [0x40c92c]
sub eax, ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
mov eax, dword [0x40c934]
mov dword [esp + 4], edx
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x10bc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_MoveWindow]
sub esp, 0x18
cmp dword [0x40c93c], 0
je 0x4044fb
mov eax, dword [ebp - 0x10bc]
mov dword [esp + 4], 0x1000000
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
push ecx
push ecx
jmp 0x4044fb
mov ebx, dword [ebp - 0x10c4]
jmp 0x40429b
mov ecx, dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [0x40c080]
lea ebx, [ebp - 0x1018]
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], ebx
mov dword [ebp - 0x10c0], ecx
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call ecx
mov eax, dword [0x40c080]
lea edx, [ebp - 0x818]
mov ecx, dword [ebp - 0x10c0]
sub esp, 0x10
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x400
mov dword [esp + 4], 0x4b7
mov dword [esp], eax
call ecx
mov eax, dword [ebp - 0x10bc]
lea edx, [ebp - 0x818]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
jmp 0x40389c
mov eax, dword [ebp - 0x10bc]
call sym._display_network_error
jmp 0x40328b
xor edx, edx
jmp 0x40419e