Function at 0x417a45
Capabilities:
Get common file path

Disassembly:
push 0x83c
mov eax, 0x43b28f
call fcn.00438496
mov ebx, ecx
lea edi, [ebx + 4]
push ecx
mov ecx, edi
call fcn.00418afc
push dword [ebx + 0x44]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x80
push dword [edi]
call esi
push dword [ebx + 0x44]
push 0
push 0x80
push dword [edi]
call esi
push 0x410
lea eax, [ebp - 0x830]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x58
call fcn.00421e38
pop ecx
push 0x58
mov esi, eax
push 0
push esi
mov dword [ebp - 0x83c], esi
call fcn.00423eb0
pop ecx
pop ecx
lea eax, [ebx + 0x78]
mov ecx, esi
push eax
call fcn.0040eead
mov esi, eax
lea ecx, [ebp - 0x830]
push 1
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x14]
test eax, eax
jne 0x417b1e
mov ecx, dword [0x449e40]
mov eax, str.The_compressed_datacan_not_be_opened._The_compressed_files_are_corrupted_or_splitted_files_are_missing.
test ecx, ecx
mov edx, 0x443078
push 0
cmove edx, eax
mov ebx, str.Bandizip_SFX
mov eax, 0x4436a8
cmove eax, ebx
push eax
push edx
push dword [edi]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push 0
push 0x10
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx + 0xc]
jmp 0x417f5c
mov ecx, dword [ebx + 0x2c]
xor eax, eax
push eax
push eax
push eax
mov byte [ebp - 0x840], al
lea eax, [ebp - 0x848]
push eax
push esi
mov dword [ebp - 0x848], 0xb
mov dword [ebp - 0x844], 0x5f5e100
call fcn.0040d0fc
mov ecx, dword [ebx + 0x2c]
xor edx, edx
call fcn.00409e39
mov esi, eax
mov eax, edx
test eax, eax
jg 0x417b6d
jl 0x417f1f
test esi, esi
je 0x417f1f
add esi, 0xc
adc eax, 0
mov dword [ebp - 0x83c], eax
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
push dword [ebp - 0x83c]
mov ecx, dword [ebx + 0x28]
push esi
push dword [ebx + 0x2c]
call fcn.0040a4f7
test eax, eax
je 0x417f1f
mov ecx, dword [ebx + 0x28]
lea edx, [ebx + 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [ebx + 0x28]
mov esi, dword [eax + 0x250]
test esi, esi
je 0x417f1f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x417f1f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cdq
push edx
push eax
push esi
mov esi, 0x452ea0
mov ecx, esi
call fcn.00401aba
test eax, eax
je 0x417f1f
and dword [ebp - 0x838], 0
lea eax, [ebp - 0x838]
push ecx
push str.MESSAGE
push str.CONFIG
push eax
mov ecx, esi
call fcn.004023e8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x838]
call fcn.00414adb
mov eax, dword [ebp - 0x838]
cmp dword [eax - 0xc], 0
je 0x417c44
push ecx
mov esi, esp
lea ecx, [eax - 0x10]
mov dword [ebp - 0x83c], esi
call fcn.0040378f
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.0041867a
mov esi, 0x452ea0
cmp dword [0x449e40], 0
mov ecx, str.Bandizip_SFX
mov eax, 0x4436a8
cmove eax, ecx
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
and dword [ebp - 0x834], 0
lea eax, [ebp - 0x834]
push ecx
push str.STATIC_TARGET_PATH
push str.LANG
push eax
mov ecx, esi
call fcn.004023e8
push dword [ebp - 0x834]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0xffffffffffffffff
push dword [edi]
call esi
lea ecx, [ebp - 0x834]
call fcn.00403a8a
and dword [ebp - 0x834], 0
lea eax, [ebp - 0x834]
push ecx
push str.BTN_SELECT_FOLDER
push str.LANG
push eax
mov ecx, 0x452ea0
call fcn.004023e8
push dword [ebp - 0x834]
push 0x3e9
push dword [edi]
call esi
lea ecx, [ebp - 0x834]
call fcn.00403a8a
and dword [ebp - 0x834], 0
lea eax, [ebp - 0x834]
push ecx
push str.BTN_EXTRACT
push str.LANG
push eax
mov ecx, 0x452ea0
call fcn.004023e8
push dword [ebp - 0x834]
push 0x3ea
push dword [edi]
call esi
lea ecx, [ebp - 0x834]
call fcn.00403a8a
and dword [ebp - 0x834], 0
lea eax, [ebp - 0x834]
push ecx
push str.BTN_CLOSE
push str.LANG
push eax
mov ecx, 0x452ea0
call fcn.004023e8
push dword [ebp - 0x834]
push 2
push dword [edi]
call esi
lea ecx, [ebp - 0x834]
call fcn.00403a8a
and dword [ebp - 0x834], 0
lea eax, [ebp - 0x834]
push ecx
push str.BTN_OPEN_FOLDER
push str.LANG
push eax
mov ecx, 0x452ea0
call fcn.004023e8
push dword [ebp - 0x834]
push 0x3ec
push dword [edi]
call esi
lea ecx, [ebp - 0x834]
call fcn.00403a8a
and dword [ebp - 0x834], 0
push ecx
push str.CHK_OVERWRITE
push str.LANG
lea eax, [ebp - 0x834]
mov ecx, 0x452ea0
push eax
call fcn.004023e8
push dword [ebp - 0x834]
push 0x3eb
push dword [edi]
call esi
lea ecx, [ebp - 0x834]
call fcn.00403a8a
and dword [ebp - 0x834], 0
lea ecx, [ebp - 0x834]
call fcn.00403aa5
mov byte [ebp - 4], 1
xor ecx, ecx
mov esi, dword [ebp - 0x834]
inc ecx
mov edx, 0x400
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x417e13
push edx
lea ecx, [ebp - 0x834]
call fcn.0040157d
mov esi, dword [ebp - 0x834]
mov edx, 0x400
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [esi - 8]
push esi
call fcn.0042ac0c
pop ecx
pop ecx
test eax, eax
js 0x417f67
cmp eax, dword [esi - 8]
jg 0x417f67
push esi
mov dword [esi - 0xc], eax
xor ecx, ecx
push 0x3e8
mov word [esi + eax*2], cx
push dword [edi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
push dword [edi]
call esi
push 0x64
push 0
push 0x406
push eax
mov dword [ebx + 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3eb
push dword [edi]
call esi
xor esi, esi
push esi
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
lea ecx, [ebx + 0x11c]
call fcn.004147c2
cmp dword [ebx + 0x12c], esi
je 0x417eb7
mov ecx, ebx
call fcn.004188fa
test al, al
je 0x417eb7
push esi
push esi
push 0x10
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x417f07
mov eax, dword [ebx + 0x124]
cmp dword [eax - 0xc], esi
je 0x417ecb
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebx + 0x120]
cmp dword [eax - 0xc], esi
je 0x417ee4
push eax
push 0x3e8
push dword [edi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
push 0x12c
push 1
push dword [edi]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x81
push dword [edi]
call fcn.00403b3c
mov ecx, eax
call fcn.0040457a
lea ecx, [ebp - 0x834]
call fcn.00403a8a
lea ecx, [ebp - 0x838]
call fcn.00403a8a
jmp 0x417f5c
mov ecx, dword [0x449e40]
mov eax, str.The_compressed_datacan_not_be_opened._The_compressed_files_are_corrupted_or_splitted_files_are_missing.
test ecx, ecx
mov edx, 0x443078
mov esi, str.Bandizip_SFX
cmove edx, eax
xor ebx, ebx
test ecx, ecx
mov eax, 0x4436a8
push ebx
cmove eax, esi
push eax
push edx
push dword [edi]
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
push ebx
push 0x10
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
inc eax
call fcn.00438445
ret 0x10
push 0x80070057
call fcn.00401694
int3