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

Disassembly:
push ebp
mov eax, 0x10dc
mov ebp, esp
push edi
push esi
push ebx
call fcn.00401068
sub esp, eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
cmp eax, 0x111
je 0x403498
ja 0x403218
cmp eax, 0x10
je 0x403548
jbe 0x4032b0
cmp eax, 0x24
jne 0x403460
shl dword [ebx + 0x20], 1
shl dword [ebx + 0x24], 1
xor esi, esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp eax, 0x219
je 0x4035b0
cmp eax, 0xbf83
jne 0x403301
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_IsIconic]
sub esp, 4
test eax, eax
jne 0x403360
mov eax, dword [ebp + 8]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
sub esp, 8
mov eax, dword [0x40c0ac]
mov esi, dword [sym.imp.user32.dll_IsWindowVisible]
mov dword [esp], eax
call esi
sub esp, 4
test eax, eax
jne 0x403bd0
mov eax, dword [0x40c0b0]
mov dword [esp], eax
call esi
sub esp, 4
test eax, eax
jne 0x403ba0
mov eax, dword [0x40c0a8]
mov dword [esp], eax
call esi
sub esp, 4
test eax, eax
jne 0x403b70
lea esp, [ebp - 0xc]
mov esi, 1
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret 0x10
cmp eax, 2
je 0x403440
cmp eax, 5
jne 0x403460
mov dword [ebp - 0x80c], 0
movzx eax, bx
shr ebx, 0x10
xor esi, esi
mov dword [ebp - 0x804], eax
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x800], ebx
mov dword [ebp - 0x808], 0
call sym._resize_frame_rect.constprop.0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp eax, 0x117
jne 0x403460
mov eax, dword [0x40c0a4]
mov esi, 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 esi
mov ecx, dword [ebp + 0x10]
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x117
mov dword [esp], eax
call esi
xor esi, esi
sub esp, 0x10
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [ebp - 0x80c], 0x2c
lea eax, [ebp - 0x80c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowPlacement]
mov edx, dword [ebp - 0x7e8]
sub edx, dword [ebp - 0x7f0]
mov dword [ebx + 4], 0
sub esp, 8
mov esi, dword [sym.imp.user32.dll_GetSystemMetrics]
mov dword [ebp - 0x10ac], edx
mov dword [ebx], 0
mov dword [esp], 0x20
call esi
sub esp, 4
mov edi, eax
mov dword [esp], 0x2d
call esi
mov edx, dword [ebp - 0x10ac]
add edi, eax
sub esp, 4
neg edi
lea eax, [edx + edi*2]
mov edi, dword [ebp - 0x7e4]
sub edi, dword [ebp - 0x7ec]
mov dword [ebx + 8], eax
mov dword [esp], 0x21
call esi
sub esp, 4
mov dword [ebp - 0x10ac], eax
mov dword [esp], 0x2e
call esi
sub esp, 4
mov dword [ebp - 0x10b0], eax
mov dword [esp], 4
call esi
sub esp, 4
sub edi, eax
mov dword [esp], 0x37
call esi
mov edx, eax
mov eax, dword [ebp - 0x10ac]
add eax, dword [ebp - 0x10b0]
sub esp, 4
neg eax
sub edi, edx
lea eax, [edi + eax*2]
mov dword [ebx + 0xc], eax
jmp 0x403258
mov dword [esp], 0
xor esi, esi
call dword [sym.imp.user32.dll_PostQuitMessage]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [0x40c0a4]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DefFrameProcW]
mov esi, eax
sub esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret 0x10
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov eax, dword [0x40c0a4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x229
mov dword [esp], eax
mov dword [ebp - 0x10b4], edi
call edi
mov edx, dword [ebp + 0x10]
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], 0xbf80
mov dword [esp], eax
call edi
sub esp, 0x10
mov esi, eax
test eax, eax
jne 0x403203
movzx eax, word [ebp + 0x10]
lea ecx, [eax - 0x9002]
cmp ecx, 0xff
jbe 0x4035e8
cmp eax, 0x6a8
je 0x404232
ja 0x403e88
mov ecx, dword [ebp + 0x10]
and ecx, 0xfe00
jne 0x40451c
cmp eax, 0x1f6
jbe 0x403e25
lea edx, [eax - 0x1f7]
cmp edx, 8
ja case.0x403ead.57653
jmp dword [edx*4 + 0x40d048]
mov eax, dword [0x40c8cc]
test eax, eax
jne 0x403c00
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
mov eax, esi
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 - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
xor esi, esi
mov dword [esp + 8], 0x6a8
mov dword [esp + 4], 0x111
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov eax, esi
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
sub eax, 0x9003
mov ebx, 0x40c0c8
test ecx, ecx
jne 0x403603
jmp 0x403611
add ebx, 2
cmp word [ebx], 0
jne 0x403600
add ebx, 2
sub eax, 1
jae 0x403603
lea eax, [ebp - 0x100c]
mov dword [esp + 0x10], 0
mov dword [esp + 4], eax
mov dword [ebp - 0x10ac], eax
mov eax, dword [sym.imp.ucrtbase.dll__wsplitpath]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], ebx
mov dword [ebp - 0x10b0], 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 - 0x10b8], eax
call eax
sub esp, 8
test eax, eax
je 0x40371c
mov edx, dword [sym.imp.user32.dll_GetWindowLongW]
mov edi, dword [ebp - 0x10b8]
mov dword [ebp - 0x10c0], ebx
mov dword [ebp - 0x10bc], esi
mov esi, eax
mov ebx, edx
lea esi, [esi]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], esi
call ebx
sub esp, 8
test eax, eax
je 0x4036fa
lea ecx, [ebp - 0x80c]
add eax, 0x828
mov dword [esp + 0x10], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x10b0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
call eax
mov eax, dword [ebp - 0x10ac]
mov dword [esp + 4], eax
lea eax, [ebp - 0x80c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
je 0x4041a0
mov dword [esp], esi
mov dword [esp + 4], 2
call edi
sub esp, 8
mov esi, eax
test eax, eax
jne 0x403690
mov ebx, dword [ebp - 0x10c0]
mov esi, dword [ebp - 0x10bc]
mov edi, dword [ebp - 0x10ac]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x10b0]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebx
call eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
sub esp, 4
test eax, eax
je 0x4041fc
lea ebx, [ebp - 0x80c]
mov dword [esp], 0x104
mov dword [esp + 4], ebx
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov ecx, dword [ebp + 8]
xor edx, edx
sub esp, 8
mov eax, ebx
call sym._alloc_child_window
mov ebx, eax
call sym._create_child_window
test eax, eax
jne 0x403205
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 0x403205
lea edx, [eax - 0xc000]
cmp edx, 0xff
jbe 0x4037d9
sub eax, 0xf000
cmp eax, 0x120
ja 0x40451c
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0x111
mov dword [esp + 0xc], eax
jmp 0x40346f
mov edi, dword [0x40c8cc]
xor eax, eax
mov dword [esp + 4], 0x1ff
test edi, edi
sete al
mov dword [0x40c8cc], eax
mov eax, 8
cmove ecx, eax
mov eax, dword [0x40c0a0]
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
jmp 0x403205
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x1068]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDC]
mov dword [ebp - 0x10ac], eax
mov edi, eax
mov eax, dword [0x40c0b4]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GetObjectW]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1098], ebx
mov dword [ebp - 0x10a4], 0x3c
sub esp, 0xc
mov dword [ebp - 0x10a0], eax
mov eax, dword [0x40c080]
mov dword [ebp - 0x109c], 0
mov dword [ebp - 0x107c], eax
mov eax, 0xffff8000
mov word [ebp - 0x1074], ax
lea eax, [ebp - 0x10a4]
mov dword [ebp - 0x1090], 0x1812041
mov dword [ebp - 0x108c], 0
mov dword [ebp - 0x1088], 0
mov dword [ebp - 0x1084], 0
mov dword [ebp - 0x1080], 0
mov dword [ebp - 0x1078], 0
mov dword [ebp - 0x1070], 0
mov dword [ebp - 0x106c], 0x18
mov dword [esp], eax
call dword [sym.imp.comdlg32.dll_ChooseFontW]
sub esp, 4
test eax, eax
je 0x404416
mov eax, dword [0x40c0b4]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
push eax
mov dword [esp], ebx
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], edi
mov dword [ebp - 0x10c0], eax
call eax
push ecx
push ecx
mov dword [ebp - 0x10bc], eax
mov dword [esp + 0xc], 0x40c0bc
mov dword [esp + 8], 1
mov dword [esp + 4], 0x415c34
mov dword [esp], edi
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 - 0x10b8], eax
call eax
mov ecx, eax
push ebx
push ebx
test eax, eax
je 0x403aed
mov eax, dword [sym.imp.user32.dll_GetWindowLongW]
mov dword [ebp - 0x10c4], esi
mov edi, 0x10
mov esi, ecx
mov dword [ebp - 0x10b0], eax
mov dword [esp], esi
mov eax, dword [ebp - 0x10b0]
mov dword [esp + 4], 0xffffffeb
call eax
mov ebx, 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 [ebx + 4]
mov dword [esp], eax
mov eax, dword [ebp - 0x10b4]
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 [ebx + 0x98]
mov dword [esp], eax
mov eax, dword [ebp - 0x10b4]
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 [ebx + 4]
mov dword [esp], eax
mov eax, dword [ebp - 0x10b4]
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 [ebx + 0x98]
mov dword [esp], eax
mov eax, dword [ebp - 0x10b4]
call eax
sub esp, 0x10
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [ebx + 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 [ebx + 0x98]
mov dword [esp], eax
call dword [sym.imp.user32.dll_InvalidateRect]
mov eax, dword [ebp - 0x10b8]
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], 2
call eax
sub esp, 8
mov esi, eax
test eax, eax
jne 0x4039aa
mov esi, dword [ebp - 0x10c4]
mov eax, dword [ebp - 0x10bc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10ac]
mov dword [esp], eax
mov eax, dword [ebp - 0x10c0]
call eax
push eax
push eax
mov eax, dword [ebp - 0x10ac]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_ReleaseDC]
sub esp, 8
jmp 0x403205
mov ecx, dword [0x40c0ac]
mov eax, dword [ebp + 8]
mov edx, 0x1fc
call sym._toggle_child
jmp 0x403205
mov ecx, dword [0x40c0a8]
mov eax, dword [ebp + 8]
mov edx, 0x1f7
call sym._toggle_child
jmp 0x403205
mov ecx, dword [0x40c0b0]
mov eax, dword [ebp + 8]
mov edx, 0x1fb
call sym._toggle_child
jmp 0x403205
lea eax, [ebp - 0x80c]
mov dword [esp + 4], eax
mov eax, dword [0x40c0a8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x800]
sub dword [ebx + 0xc], eax
sub esp, 8
jmp 0x40329d
lea eax, [ebp - 0x80c]
mov dword [esp + 4], eax
mov eax, dword [0x40c0b0]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x800]
sub esp, 8
add eax, 2
add dword [ebx + 4], eax
jmp 0x403288
lea eax, [ebp - 0x80c]
mov dword [esp + 4], eax
mov eax, dword [0x40c0ac]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x800]
sub esp, 8
add eax, 2
add dword [ebx + 4], eax
jmp 0x403273
lea eax, [ebp - 0x100c]
lea ebx, [ebp - 0x10a8]
mov dword [ebp - 0x100c], 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 - 0x1000]
sub eax, dword [ebp - 0x1008]
sub esp, 8
mov dword [ebp - 0x10a4], eax
mov eax, dword [ebp - 0xffc]
sub eax, dword [ebp - 0x1004]
mov dword [esp + 0x10], ebx
mov dword [ebp - 0x1068], 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 0x403cd3
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 0x403555
lea eax, [ebp - 0x1008]
mov ebx, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0x14], 4
lea esi, [ebp - 0x80c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10a8]
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 - 0x1004]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10a8]
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 - 0x10a4]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10a8]
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 - 0x1068]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10a8]
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], esi
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GetObjectW]
mov eax, dword [ebp - 0x10a8]
sub esp, 0xc
mov dword [esp + 0x14], 0x5c
mov dword [esp + 0x10], esi
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 - 0x10a8]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x403555
cmp eax, 0xfc
je 0x404212
jbe 0x404160
cmp eax, 0xfd
jne 0x40451c
mov eax, dword [ebp + 8]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._WNetDisconnectDialog_8
sub esp, 8
mov edx, eax
test eax, eax
je 0x404232
cmp edx, 0xffffffff
je 0x403203
mov eax, dword [ebp + 8]
cmp edx, 0x4b8
je 0x4045a0
call sym._display_error
jmp 0x403205
cmp eax, 0xe146
ja case.0x403ead.57653
cmp eax, 0xe12f
jbe 0x403f80
lea edx, [eax - 0xe130]
cmp edx, 0x16
ja case.0x403ead.57653
jmp dword [edx*4 + 0x40d06c]
mov eax, dword [0x40c080]
lea ebx, [ebp - 0x100c]
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_WinHelpW]
sub esp, 0x10
jmp 0x403205
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 - 0x10b4]
call eax
sub esp, 0x10
jmp 0x403205
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
jmp 0x403f17
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x227
jmp 0x403f1f
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x228
jmp 0x403f1f
cmp eax, 0x8004
je 0x4042b9
cmp eax, 0x9001
jne 0x4040c8
lea eax, [ebp - 0x100c]
mov dword [esp + 0xc], 0x400
mov dword [ebp - 0x10ac], 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 - 0x10b8], eax
call eax
sub esp, 8
mov edi, eax
test eax, eax
je 0x404055
mov eax, dword [sym.imp.user32.dll_GetWindowLongW]
mov ebx, dword [sym.imp.kernel32.dll_lstrcmpiW]
mov dword [ebp - 0x10b0], esi
mov esi, eax
mov dword [esp + 4], 0xffffffeb
mov dword [esp], edi
call esi
sub esp, 8
test eax, eax
je 0x404033
mov edx, dword [ebp - 0x10ac]
add eax, 0xc30
mov dword [esp], eax
mov dword [esp + 4], edx
call ebx
sub esp, 8
test eax, eax
je 0x404511
mov dword [esp], edi
mov eax, dword [ebp - 0x10b8]
mov dword [esp + 4], 2
call eax
sub esp, 8
mov edi, eax
test eax, eax
jne 0x404000
mov esi, dword [ebp - 0x10b0]
lea ebx, [ebp - 0x80c]
mov dword [esp], 0x104
mov dword [esp + 4], ebx
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0x10a4]
push eax
push eax
mov eax, dword [0x40c8d0]
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
lea ecx, [ebp - 0x1068]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x1c
test eax, eax
js 0x4045aa
mov edx, dword [ebp - 0x10a4]
mov ecx, dword [ebp + 8]
jmp 0x40377c
cmp eax, 0x70b
jne case.0x403ead.57653
mov eax, dword [0x40c080]
mov dword [esp + 0x14], 0x8000
lea edi, [ebp - 0x100c]
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 ebx, eax
mov eax, dword [0x40c080]
sub esp, 0x18
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 + 8]
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.shell32.dll_ShellAboutW]
sub esp, 0x10
jmp 0x403205
cmp eax, 0x69
je 0x40423c
cmp eax, 0x73
jne 0x40451c
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x10b4]
mov dword [esp + 4], 0x10
call eax
sub esp, 0x10
jmp 0x403205
mov edi, esi
mov esi, dword [ebp - 0x10bc]
mov eax, dword [0x40c0a4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x10b4]
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 0x403205
mov dword [esp + 4], 1
mov dword [esp], edi
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
jmp 0x403205
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp + 8]
call sym._display_error
jmp 0x403205
mov eax, dword [ebp + 8]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._WNetConnectionDialog_8
sub esp, 8
mov edx, eax
test eax, eax
jne 0x403e61
call sym._refresh_drives
jmp 0x403205
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 ebx, eax
mov dword [esp + 4], 0x3d
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x403203
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], edx
call eax
sub esp, 0x18
jmp 0x403205
mov ebx, dword [0x40c928]
xor eax, eax
test ebx, ebx
sete al
mov dword [0x40c928], eax
jne 0x4044a8
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x40c92c
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [ebp + 8]
push ebx
push ebx
lea ebx, [ebp - 0x80c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_IsZoomed]
push edi
mov dword [0x40c93c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x10b4]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xbf83
call eax
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_MapWindowPoints]
mov eax, dword [0x40c92c]
sub eax, dword [ebp - 0x80c]
mov dword [ebp - 0x80c], eax
sub esp, 0x10
mov eax, dword [0x40c930]
sub eax, dword [ebp - 0x808]
mov ebx, dword [sym.imp.user32.dll_GetSystemMetrics]
mov dword [esp], 0
mov dword [ebp - 0x808], eax
call ebx
add eax, dword [0x40c934]
sub eax, dword [ebp - 0x804]
push edx
mov dword [ebp - 0x804], eax
mov dword [esp], 1
call ebx
add eax, dword [0x40c938]
sub eax, dword [ebp - 0x800]
push ecx
mov ecx, dword [ebp - 0x808]
mov dword [ebp - 0x800], eax
mov edx, dword [ebp - 0x80c]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x804]
mov dword [esp + 0x14], 1
sub eax, edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
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 0x403205
call dword [sym.imp.comdlg32.dll_CommDlgExtendedError]
test eax, eax
je 0x403b0a
mov ecx, dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [0x40c080]
lea edi, [ebp - 0x100c]
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], edi
lea ebx, [ebp - 0x80c]
mov dword [ebp - 0x10b0], ecx
mov dword [esp + 4], 0x44d
mov dword [esp], eax
call ecx
mov eax, dword [0x40c080]
mov ecx, dword [ebp - 0x10b0]
sub esp, 0x10
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x44f
mov dword [esp], eax
call ecx
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
jmp 0x403b0a
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 + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_MoveWindow]
sub esp, 0x18
cmp dword [0x40c93c], 0
je 0x4043e4
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x1000000
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
push ecx
push ecx
jmp 0x4043e4
mov esi, dword [ebp - 0x10b0]
jmp 0x4041a8
mov edx, dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [0x40c080]
lea edi, [ebp - 0x100c]
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], edi
lea esi, [ebp - 0x80c]
mov dword [ebp - 0x10ac], edx
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call edx
mov eax, dword [0x40c080]
mov edx, dword [ebp - 0x10ac]
sub esp, 0x10
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4b7
mov dword [esp], eax
call edx
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
jmp 0x4037d9
call sym._display_network_error
jmp 0x403205
xor edx, edx
jmp 0x4040bb