Function at 0x408e86
Capabilities:
Get common file path

Disassembly:
push 0x498
mov eax, 0x442134
call fcn.00437192
xor esi, esi
mov dword [ebp - 0x4a0], esi
mov ebx, ecx
mov dword [ebp - 0x4a4], ebx
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x44c], esi
mov word [ebp - 0x45c], si
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x78]
cmp eax, 2
jne 0x408f5e
lea edi, [ebx + 0x7c]
lea ecx, [ebp - 0x498]
call fcn.0042f99b
push 0xffffffffffffffff
lea ecx, [ebp - 0x460]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 1
call fcn.00401223
push ebx
push 1
lea esi, [ebp - 0x498]
mov byte [ebp - 4], bl
call fcn.0040115e
cmp dword [ebp - 0x44c], ebx
jne 0x408f37
lea eax, [ebp - 0x444]
push eax
call fcn.0040dbe1
pop ecx
lea eax, [ebp - 0x460]
push eax
lea edi, [ebp - 0x444]
mov byte [ebp - 4], 2
call fcn.0040c778
pop ecx
push ebx
push 1
mov esi, edi
mov byte [ebp - 4], bl
call fcn.0040115e
mov ebx, dword [ebp - 0x4a4]
cmp dword [ebx + 0x78], 1
push 0xffffffffffffffff
jne 0x4090cc
lea ecx, [ebx + 0x298]
mov dword [ebp - 0x4a0], ecx
lea eax, [ebx + 0x7c]
push ecx
jmp 0x4090df
cmp dword [ebx + 0x90], esi
je 0x408fcf
cmp eax, esi
jne 0x408fcf
push 0x26
lea ecx, [ebp - 0x460]
call fcn.0042f8ee
pop ecx
lea eax, [ebp - 0x444]
push eax
call fcn.0040dbe1
pop ecx
lea ecx, [ebp - 0x444]
lea edi, [ebp - 0x498]
mov byte [ebp - 4], 3
call fcn.0040ceb3
push 0x447500
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 4
call fcn.0040bace
lea eax, [ebp - 0x460]
mov dword [esp], 0x446e3c
push eax
call fcn.00403724
push esi
push 1
mov esi, edi
call fcn.0040115e
push 0
jmp 0x409033
lea eax, [ebp - 0x428]
push eax
mov edi, 0x208
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, esi
je 0x40900e
cmp eax, edi
jae 0x40900e
lea eax, [ebp - 0x428]
push eax
mov word [ebp - 0x18], si
call fcn.0043501f
pop ecx
lea ecx, [ebp - 0x428]
lea esi, [ebp - 0x460]
call fcn.004011a5
jmp 0x409044
lea eax, [ebp - 0x444]
push eax
call fcn.0040dbe1
pop ecx
lea eax, [ebp - 0x460]
push eax
lea edi, [ebp - 0x444]
mov byte [ebp - 4], 5
call fcn.0040c778
pop ecx
push esi
push 1
lea esi, [ebp - 0x444]
mov byte [ebp - 4], 0
call fcn.0040115e
cmp dword [ebx + 0x90], 0
je 0x408f3d
lea eax, [ebx + 0x7c]
lea esi, [ebp - 0x444]
call fcn.00403705
mov esi, 0x447500
lea eax, [ebp - 0x444]
push esi
push eax
mov byte [ebp - 4], 6
call fcn.0040bb3d
push esi
lea eax, [ebp - 0x460]
call fcn.0040bace
add esp, 0xc
mov edi, 0x446e3c
push edi
lea eax, [ebp - 0x460]
push eax
call fcn.00403724
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x444]
lea esi, [ebp - 0x460]
call fcn.00403bd9
push edi
mov eax, esi
push eax
call fcn.00403724
push 0
push 1
lea esi, [ebp - 0x444]
mov byte [ebp - 4], 0
call fcn.0040115e
jmp 0x408f3d
add ebx, 0x298
mov dword [ebp - 0x4a0], ebx
push ebx
lea eax, [ebp - 0x460]
xor ebx, ebx
call fcn.00401223
mov ebx, dword [ebp - 0x4a4]
xor esi, esi
cmp dword [ebp - 0x44c], esi
je 0x4092e2
cmp byte [ebx + 0x98], 0
je 0x4092e2
cmp dword [ebx + 0x90], esi
je 0x4092e2
cmp dword [ebx + 0x2ac], esi
je 0x4092e2
mov edi, str.SoftwareHaoZip_SFX
push edi
lea eax, [ebp - 0x444]
call fcn.004036d9
lea eax, [ebp - 0x444]
call fcn.0040152f
push esi
push 1
lea esi, [ebp - 0x444]
mov byte [ebp - 0x499], al
call fcn.0040115e
cmp byte [ebp - 0x499], 0
je 0x4092e2
push 7
xor ecx, ecx
pop eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x468], ecx
mov word [ebp - 0x478], cx
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x430], ecx
mov word [ebp - 0x440], cx
push 0xffffffffffffffff
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 8
push eax
mov eax, dword [ebp - 0x4a0]
xor ebx, ebx
call fcn.00401223
lea esi, [ebp - 0x444]
call fcn.0040bb97
push 0x3a
call fcn.0040ba44
pop ecx
push 0x5c
call fcn.0040ba44
pop ecx
push edi
lea eax, [ebp - 0x498]
call fcn.004036d9
xor esi, esi
lea eax, [ebp - 0x498]
mov byte [ebp - 4], 9
inc esi
push eax
lea edx, [ebp - 0x47c]
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x4a0], esi
call fcn.00401582
test al, al
je 0x409215
cmp dword [ebp - 0x468], ebx
je 0x409215
lea eax, [ebp - 0x47c]
lea ecx, [ebp - 0x460]
call fcn.0040b91c
test eax, eax
mov byte [ebp - 0x499], 1
jne 0x40921b
mov byte [ebp - 0x499], bl
push 8
pop edi
push ebx
push esi
lea esi, [ebp - 0x498]
mov dword [ebp - 4], edi
call fcn.0040115e
cmp byte [ebp - 0x499], bl
je 0x4092bd
mov eax, dword [ebp - 0x4a4]
push 0x3ec
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
mov dword [ebp - 0x4a0], eax
je 0x4092a7
cmp byte [ebp + 8], bl
je 0x4092a7
cmp dword [ebp - 0x464], edi
mov eax, dword [ebp - 0x478]
jae 0x409271
lea eax, [ebp - 0x478]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
mov edi, 0x143
push edi
push dword [ebp - 0x4a0]
call esi
cmp dword [ebp - 0x448], 8
mov eax, dword [ebp - 0x45c]
jae 0x40929c
lea eax, [ebp - 0x45c]
push eax
push ebx
push edi
push dword [ebp - 0x4a0]
call esi
push 0xffffffffffffffff
lea eax, [ebp - 0x460]
push eax
xor ebx, ebx
lea eax, [ebp - 0x47c]
call fcn.00401223
push ebx
push 1
lea esi, [ebp - 0x444]
call fcn.0040115e
push ebx
push 1
lea esi, [ebp - 0x47c]
mov byte [ebp - 4], bl
call fcn.0040115e
mov ebx, dword [ebp - 0x4a4]
cmp dword [ebx + 0x28], 0
lea ecx, [ebp - 0x498]
je 0x4092fc
lea edi, [ebx + 0x14]
call fcn.0042f99b
mov byte [ebp - 4], 0xa
jmp 0x40930b
lea edi, [ebp - 0x460]
call fcn.0042f99b
mov byte [ebp - 4], 0xb
push 0xffffffffffffffff
add ebx, 0x230
push ebx
xor ebx, ebx
call fcn.00401223
push ebx
push 1
lea esi, [ebp - 0x498]
call fcn.0040115e
push ebx
push 1
lea esi, [ebp - 0x460]
call fcn.0040115e
call fcn.00437215
ret 4