Function at 0x4427c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46af8d
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x4812a4]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push esi
push edi
mov eax, dword [0x4812a4]
xor eax, esp
push eax
lea eax, [esp + 0x398]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
mov esi, dword [ebp + 8]
mov dword [esp + 0x18], edx
ja 0x442b7a
je 0x44288b
sub eax, 0xf
je 0x442833
sub eax, 1
jne 0x442bb7
push 2
push esi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x442d5a
lea eax, [esp + 0x144]
push eax
push esi
call dword [sym.imp.USER32.dll_BeginPaint]
lea ecx, [esp + 0x20]
push ecx
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
push 6
lea edx, [esp + 0x28]
mov eax, 0xa
sub dword [esp + 0x30], eax
push edx
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x96
call dword [sym.imp.USER32.dll_DrawEdge]
lea eax, [esp + 0x144]
push eax
push esi
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
jmp 0x442d5f
call fcn.004199d0
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x4428b3
push 1
push edi
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push ebx
push edi
push 0x30
push esi
call fcn.0041b920
add esp, 0x14
call fcn.00419780
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x13
push str.INSTALLER_DIALOG_OK
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00407a50
mov dword [esp + 0x3a0], ebx
lea edi, [esp + 0x5c]
call fcn.00419720
push eax
push 1
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esp + 0x3a0], 0xffffffff
cmp dword [esp + 0x74], 0x10
jb 0x442920
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00449824
add esp, 4
mov eax, 0xf
push 0x17
push str.INSTALLER_DIALOG_CANCEL
lea ecx, [esp + 0x9c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.00407a50
mov dword [esp + 0x3a0], 1
lea edi, [esp + 0x94]
call fcn.00419720
push eax
push 2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call edi
mov dword [esp + 0x3a0], 0xffffffff
cmp dword [esp + 0xac], 0x10
jb 0x4429a8
mov edx, dword [esp + 0x98]
push edx
call fcn.00449824
add esp, 4
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x1c], 8
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
jb 0x4429d0
mov eax, dword [eax + 8]
jmp 0x4429d3
add eax, 8
push eax
push 0x3ec
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
push 0x14
push str.INSTALLER_INSTALL_TO
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00407a50
mov dword [esp + 0x3a0], 2
lea edi, [esp + 0x40]
call fcn.00419720
push eax
push 0x3f2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esp + 0x3a0], 0xffffffff
cmp dword [esp + 0x58], 0x10
jb 0x442a4a
mov eax, dword [esp + 0x44]
push eax
call fcn.00449824
add esp, 4
mov eax, 0xf
push 0x17
push str.INSTALLER_BUTTON_BROWSE
lea ecx, [esp + 0x80]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.00407a50
mov dword [esp + 0x3a0], 3
lea edi, [esp + 0x78]
call fcn.00419720
push eax
push 0x3ed
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esp + 0x3a0], 0xffffffff
cmp dword [esp + 0x90], 0x10
jb 0x442acd
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00449824
add esp, 4
mov eax, 0xf
push 0x15
push str.INSTALLER_DIALOG_BACK
lea ecx, [esp + 0xb8]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
mov dword [esp + 0xd0], eax
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
call fcn.00407a50
mov dword [esp + 0x3a0], 4
lea edi, [esp + 0xb0]
call fcn.00419720
push eax
push 3
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esp + 0x3a0], 0xffffffff
cmp dword [esp + 0xc8], 0x10
jb 0x442b5c
mov edx, dword [esp + 0xb4]
push edx
call fcn.00449824
add esp, 4
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
jmp 0x442d5a
cmp eax, 0x111
jne 0x442bb7
cmp ecx, 3
ja 0x442baf
je 0x442ba1
mov eax, ecx
sub eax, 1
jne 0x44281c
push 1
push esi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x442d5a
push 3
push esi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x442d5a
cmp ecx, 0x3ed
je 0x442bbe
xor eax, eax
jmp 0x442d5f
xor ebx, ebx
cmp dword [edx + 0x1c], 8
lea eax, [edx + 4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
jb 0x442bda
mov eax, dword [eax + 4]
jmp 0x442bdd
add eax, 4
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
test eax, eax
jge 0x442bf4
mov dword [esp + 0x14], ebx
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
cmp eax, ebx
jge 0x442c49
push str.SHGetFolderLocation_failed.
lea ecx, [esp + 0xec]
call fcn.004091b0
mov dword [esp + 0x3a0], 5
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0xec]
call fcn.00412410
push 0x4769b0
lea ecx, [esp + 0x108]
push ecx
call fcn.0044e17f
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x184]
push str.INSTALLER_CHOOSE_INSTALL_LOCATION
lea ecx, [esp + 0xd0]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.004091b0
mov dword [esp + 0x3a0], 6
lea edi, [esp + 0xcc]
call fcn.00419720
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3a0], 0xffffffff
mov ecx, edi
call fcn.00409220
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x34], 0x50
mov dword [esp + 0x38], 0x442780
mov dword [esp + 0x3c], ecx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edi, eax
cmp edi, ebx
je 0x442d3a
lea eax, [esp + 0x184]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x188]
call fcn.00410590
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], 8
jb 0x442d18
mov eax, dword [eax + 4]
jmp 0x442d1b
add eax, 4
push eax
push 0x3ec
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
push edi
call esi
jmp 0x442d40
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x442d4f
push eax
call esi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x442d5a
push eax
call esi
mov eax, 1
mov ecx, dword [esp + 0x398]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.00449829
mov esp, ebp
pop ebp
ret 8