Function at 0x4096ca
Capabilities:
Get common file path

Disassembly:
push 0x498
mov eax, 0x445b05
call fcn.004378a5
xor esi, esi
mov dword [ebp - 0x484], esi
mov ebx, ecx
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], esi
mov word [ebp - 0x440], si
mov dword [ebp - 4], esi
cmp dword [ebx + 0x88], esi
je 0x409722
lea eax, [ebx + 0x74]
xor edi, edi
call fcn.0040b2a5
cmp word [eax], 0x5c
jne 0x409722
mov dword [ebx + 0x70], 2
mov eax, dword [ebx + 0x70]
cmp eax, 2
jne 0x4097b7
lea edi, [ebx + 0x74]
lea ecx, [ebp - 0x4a4]
call fcn.0042d8a5
push 0xffffffffffffffff
lea ecx, [ebp - 0x444]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 1
call fcn.00401318
push ebx
push 1
lea esi, [ebp - 0x4a4]
mov byte [ebp - 4], bl
call fcn.004012ba
cmp dword [ebp - 0x430], ebx
jne 0x409790
lea edi, [ebp - 0x460]
call fcn.0040eb50
lea esi, [ebp - 0x444]
mov byte [ebp - 4], 2
call fcn.0040bb40
push ebx
push 1
mov esi, edi
mov byte [ebp - 4], bl
call fcn.004012ba
mov ebx, dword [ebp - 0x488]
cmp dword [ebx + 0x70], 1
push 0xffffffffffffffff
jne 0x4098dc
lea ecx, [ebx + 0x324]
mov dword [ebp - 0x484], ecx
lea eax, [ebx + 0x74]
push ecx
jmp 0x4098ef
cmp eax, esi
jne 0x4097ef
push 0x26
lea ecx, [ebp - 0x444]
call fcn.0042d79b
lea eax, [ebp - 0x444]
mov dword [esp], 0x449ee0
call fcn.0040c320
lea eax, [ebp - 0x444]
mov dword [esp], 0x449edc
push eax
call fcn.00403daf
jmp 0x40984c
lea eax, [ebp - 0x428]
push eax
mov edi, 0x208
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, esi
je 0x409821
cmp eax, edi
jae 0x409821
mov word [ebp - 0x18], si
lea eax, [ebp - 0x428]
lea esi, [ebp - 0x444]
call fcn.0040124c
jmp 0x40984a
lea edi, [ebp - 0x460]
call fcn.0040eb50
lea esi, [ebp - 0x444]
mov byte [ebp - 4], 3
call fcn.0040bb40
push 0
push 1
mov esi, edi
mov byte [ebp - 4], 0
call fcn.004012ba
xor esi, esi
cmp dword [ebx + 0x88], esi
je 0x409796
lea eax, [ebx + 0x74]
lea esi, [ebp - 0x460]
call fcn.00403d90
mov edi, 0x44a29c
push edi
mov eax, esi
mov byte [ebp - 4], 4
call fcn.0040c2b0
lea eax, [ebp - 0x444]
mov dword [esp], 0x449ee0
call fcn.0040c320
lea eax, [ebp - 0x444]
mov dword [esp], 0x449edc
push eax
call fcn.00403daf
push 0xffffffffffffffff
mov eax, esi
push 0
lea esi, [ebp - 0x444]
call fcn.00404251
push edi
mov eax, esi
call fcn.0040c320
mov eax, esi
mov dword [esp], 0x449edc
push eax
call fcn.00403daf
push 0
push 1
lea esi, [ebp - 0x460]
mov byte [ebp - 4], 0
call fcn.004012ba
jmp 0x409796
add ebx, 0x324
mov dword [ebp - 0x484], ebx
push ebx
lea eax, [ebp - 0x444]
xor ebx, ebx
call fcn.00401318
mov ebx, dword [ebp - 0x488]
xor edi, edi
cmp dword [ebp - 0x430], edi
je 0x409afc
cmp byte [ebx + 0x90], 0
je 0x409afc
cmp dword [ebx + 0x88], edi
je 0x409afc
cmp dword [ebx + 0x338], edi
je 0x409afc
mov eax, str.SoftwareHaoZip_SFX
lea ecx, [ebp - 0x460]
call fcn.00401222
lea eax, [ebp - 0x460]
call fcn.00401624
push edi
push 1
lea esi, [ebp - 0x460]
mov byte [ebp - 0x47d], al
call fcn.004012ba
cmp byte [ebp - 0x47d], 0
je 0x409afc
push 7
pop eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x468], edi
mov word [ebp - 0x478], di
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x44c], edi
mov word [ebp - 0x45c], di
push 0xffffffffffffffff
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 6
push eax
mov eax, dword [ebp - 0x484]
xor ebx, ebx
call fcn.00401318
lea ebx, [ebp - 0x460]
call fcn.0040c420
push 0x25
push 0x3a
mov edi, ebx
call fcn.0040c250
push 0x25
push 0x5c
call fcn.0040c250
add esp, 0x10
mov eax, str.SoftwareHaoZip_SFX
lea ecx, [ebp - 0x4a4]
call fcn.00401222
xor edi, edi
lea eax, [ebp - 0x4a4]
mov byte [ebp - 4], 7
inc edi
push eax
lea edx, [ebp - 0x47c]
mov ecx, ebx
mov dword [ebp - 0x484], edi
call fcn.00401677
xor ebx, ebx
test al, al
je 0x409a2b
cmp dword [ebp - 0x468], ebx
je 0x409a2b
lea eax, [ebp - 0x47c]
lea esi, [ebp - 0x444]
call fcn.0040c0d0
test eax, eax
mov byte [ebp - 0x47d], 1
jne 0x409a31
mov byte [ebp - 0x47d], bl
push ebx
push edi
lea esi, [ebp - 0x4a4]
mov dword [ebp - 4], 6
call fcn.004012ba
cmp byte [ebp - 0x47d], bl
je 0x409ad5
mov eax, dword [ebp - 0x488]
push 0x3ec
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
mov dword [ebp - 0x484], eax
je 0x409abf
cmp byte [ebp + 8], bl
je 0x409abf
cmp dword [ebp - 0x464], 8
mov eax, dword [ebp - 0x478]
jae 0x409a89
lea eax, [ebp - 0x478]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
mov edi, 0x143
push edi
push dword [ebp - 0x484]
call esi
cmp dword [ebp - 0x42c], 8
mov eax, dword [ebp - 0x440]
jae 0x409ab4
lea eax, [ebp - 0x440]
push eax
push ebx
push edi
push dword [ebp - 0x484]
call esi
push 0xffffffffffffffff
lea eax, [ebp - 0x444]
push eax
xor ebx, ebx
lea eax, [ebp - 0x47c]
call fcn.00401318
push ebx
push 1
lea esi, [ebp - 0x460]
call fcn.004012ba
push ebx
push 1
lea esi, [ebp - 0x47c]
mov byte [ebp - 4], bl
call fcn.004012ba
mov ebx, dword [ebp - 0x488]
xor edi, edi
cmp dword [ebx + 0x2c], edi
lea ecx, [ebp - 0x4a4]
je 0x409b15
lea edi, [ebx + 0x18]
call fcn.0042d8a5
mov byte [ebp - 4], 8
jmp 0x409b24
lea edi, [ebp - 0x444]
call fcn.0042d8a5
mov byte [ebp - 4], 9
push 0xffffffffffffffff
add ebx, 0x298
push ebx
xor ebx, ebx
call fcn.00401318
push ebx
push 1
lea esi, [ebp - 0x4a4]
call fcn.004012ba
push ebx
push 1
lea esi, [ebp - 0x444]
call fcn.004012ba
call fcn.00437928
ret 4