Function at 0x4095be
Capabilities:
Get common file path

Disassembly:
push 0x498
mov eax, 0x445445
call fcn.004372c5
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 0x409616
lea eax, [ebx + 0x74]
xor edi, edi
call fcn.0040b19f
cmp word [eax], 0x5c
jne 0x409616
mov dword [ebx + 0x70], 2
mov eax, dword [ebx + 0x70]
cmp eax, 2
jne 0x4096ab
lea edi, [ebx + 0x74]
lea ecx, [ebp - 0x4a4]
call fcn.0042d3b4
push 0xffffffffffffffff
lea ecx, [ebp - 0x444]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 1
call fcn.00401322
push ebx
push 1
lea esi, [ebp - 0x4a4]
mov byte [ebp - 4], bl
call fcn.004012b6
cmp dword [ebp - 0x430], ebx
jne 0x409684
lea edi, [ebp - 0x460]
call fcn.0040e9e0
lea esi, [ebp - 0x444]
mov byte [ebp - 4], 2
call fcn.0040ba00
push ebx
push 1
mov esi, edi
mov byte [ebp - 4], bl
call fcn.004012b6
mov ebx, dword [ebp - 0x488]
cmp dword [ebx + 0x70], 1
push 0xffffffffffffffff
jne 0x4097d0
lea ecx, [ebx + 0x324]
mov dword [ebp - 0x484], ecx
lea eax, [ebx + 0x74]
push ecx
jmp 0x4097e3
cmp eax, esi
jne 0x4096e3
push 0x26
lea ecx, [ebp - 0x444]
call fcn.0042d2aa
lea eax, [ebp - 0x444]
mov dword [esp], 0x449ee0
call fcn.0040c1e0
lea eax, [ebp - 0x444]
mov dword [esp], 0x449edc
push eax
call fcn.00403d3c
jmp 0x409740
lea eax, [ebp - 0x428]
push eax
mov edi, 0x208
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, esi
je 0x409715
cmp eax, edi
jae 0x409715
mov word [ebp - 0x18], si
lea eax, [ebp - 0x428]
lea esi, [ebp - 0x444]
call fcn.00401248
jmp 0x40973e
lea edi, [ebp - 0x460]
call fcn.0040e9e0
lea esi, [ebp - 0x444]
mov byte [ebp - 4], 3
call fcn.0040ba00
push 0
push 1
mov esi, edi
mov byte [ebp - 4], 0
call fcn.004012b6
xor esi, esi
cmp dword [ebx + 0x88], esi
je 0x40968a
lea eax, [ebx + 0x74]
lea esi, [ebp - 0x460]
call fcn.00403d1d
mov edi, 0x44a28c
push edi
mov eax, esi
mov byte [ebp - 4], 4
call fcn.0040c170
lea eax, [ebp - 0x444]
mov dword [esp], 0x449ee0
call fcn.0040c1e0
lea eax, [ebp - 0x444]
mov dword [esp], 0x449edc
push eax
call fcn.00403d3c
push 0xffffffffffffffff
mov eax, esi
push 0
lea esi, [ebp - 0x444]
call fcn.00404193
push edi
mov eax, esi
call fcn.0040c1e0
mov eax, esi
mov dword [esp], 0x449edc
push eax
call fcn.00403d3c
push 0
push 1
lea esi, [ebp - 0x460]
mov byte [ebp - 4], 0
call fcn.004012b6
jmp 0x40968a
add ebx, 0x324
mov dword [ebp - 0x484], ebx
push ebx
lea eax, [ebp - 0x444]
xor ebx, ebx
call fcn.00401322
mov ebx, dword [ebp - 0x488]
xor edi, edi
cmp dword [ebp - 0x430], edi
je 0x4099f0
cmp byte [ebx + 0x90], 0
je 0x4099f0
cmp dword [ebx + 0x88], edi
je 0x4099f0
cmp dword [ebx + 0x338], edi
je 0x4099f0
mov eax, str.SoftwareHaoZip_SFX
lea ecx, [ebp - 0x460]
call fcn.00401222
lea eax, [ebp - 0x460]
call fcn.0040162e
push edi
push 1
lea esi, [ebp - 0x460]
mov byte [ebp - 0x47d], al
call fcn.004012b6
cmp byte [ebp - 0x47d], 0
je 0x4099f0
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.00401322
lea ebx, [ebp - 0x460]
call fcn.0040c2e0
push 0x25
push 0x3a
mov edi, ebx
call fcn.0040c110
push 0x25
push 0x5c
call fcn.0040c110
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.00401681
xor ebx, ebx
test al, al
je 0x40991f
cmp dword [ebp - 0x468], ebx
je 0x40991f
lea eax, [ebp - 0x47c]
lea esi, [ebp - 0x444]
call fcn.0040bf90
test eax, eax
mov byte [ebp - 0x47d], 1
jne 0x409925
mov byte [ebp - 0x47d], bl
push ebx
push edi
lea esi, [ebp - 0x4a4]
mov dword [ebp - 4], 6
call fcn.004012b6
cmp byte [ebp - 0x47d], bl
je 0x4099c9
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 0x4099b3
cmp byte [ebp + 8], bl
je 0x4099b3
cmp dword [ebp - 0x464], 8
mov eax, dword [ebp - 0x478]
jae 0x40997d
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 0x4099a8
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.00401322
push ebx
push 1
lea esi, [ebp - 0x460]
call fcn.004012b6
push ebx
push 1
lea esi, [ebp - 0x47c]
mov byte [ebp - 4], bl
call fcn.004012b6
mov ebx, dword [ebp - 0x488]
xor edi, edi
cmp dword [ebx + 0x2c], edi
lea ecx, [ebp - 0x4a4]
je 0x409a09
lea edi, [ebx + 0x18]
call fcn.0042d3b4
mov byte [ebp - 4], 8
jmp 0x409a18
lea edi, [ebp - 0x444]
call fcn.0042d3b4
mov byte [ebp - 4], 9
push 0xffffffffffffffff
add ebx, 0x298
push ebx
xor ebx, ebx
call fcn.00401322
push ebx
push 1
lea esi, [ebp - 0x4a4]
call fcn.004012b6
push ebx
push 1
lea esi, [ebp - 0x444]
call fcn.004012b6
call fcn.00437348
ret 4