Function at 0x40963a
Capabilities:
Get common file path

Disassembly:
push 0x498
mov eax, 0x444475
call fcn.004363af
xor edi, edi
mov dword [ebp - 0x484], edi
mov ebx, ecx
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], edi
mov word [ebp - 0x440], di
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x70]
cmp eax, 2
jne 0x409708
lea edi, [ebx + 0x74]
lea ecx, [ebp - 0x4a4]
call fcn.0042c5d0
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 0x4096e1
lea edi, [ebp - 0x460]
call fcn.0040ed60
lea esi, [ebp - 0x444]
mov byte [ebp - 4], 2
call fcn.0040b9e0
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 0x40982d
lea ecx, [ebx + 0x324]
mov dword [ebp - 0x484], ecx
lea eax, [ebx + 0x74]
push ecx
jmp 0x409840
cmp eax, edi
jne 0x409740
push 0x26
lea ecx, [ebp - 0x444]
call fcn.0042c4c6
lea eax, [ebp - 0x444]
mov dword [esp], 0x448ee0
call fcn.0040c1c0
lea eax, [ebp - 0x444]
mov dword [esp], 0x448edc
push eax
call fcn.00403d6b
jmp 0x40979d
lea eax, [ebp - 0x428]
push eax
mov esi, 0x208
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, edi
je 0x409772
cmp eax, esi
jae 0x409772
lea eax, [ebp - 0x428]
lea esi, [ebp - 0x444]
mov word [ebp - 0x18], di
call fcn.0040124c
jmp 0x40979d
lea edi, [ebp - 0x460]
call fcn.0040ed60
lea esi, [ebp - 0x444]
mov byte [ebp - 4], 3
call fcn.0040b9e0
push 0
push 1
mov esi, edi
mov byte [ebp - 4], 0
call fcn.004012ba
xor edi, edi
cmp dword [ebx + 0x88], edi
je 0x4096e7
lea eax, [ebx + 0x74]
lea esi, [ebp - 0x460]
call fcn.00403d4c
mov edi, 0x44928c
push edi
mov eax, esi
mov byte [ebp - 4], 4
call fcn.0040c150
lea eax, [ebp - 0x444]
mov dword [esp], 0x448ee0
call fcn.0040c1c0
lea eax, [ebp - 0x444]
mov dword [esp], 0x448edc
push eax
call fcn.00403d6b
push 0xffffffffffffffff
mov eax, esi
push 0
lea esi, [ebp - 0x444]
call fcn.004041e2
push edi
mov eax, esi
call fcn.0040c1c0
mov eax, esi
mov dword [esp], 0x448edc
push eax
call fcn.00403d6b
push 0
push 1
lea esi, [ebp - 0x460]
mov byte [ebp - 4], 0
call fcn.004012ba
jmp 0x4096e7
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 0x409a4d
cmp byte [ebx + 0x90], 0
je 0x409a4d
cmp dword [ebx + 0x88], edi
je 0x409a4d
cmp dword [ebx + 0x338], edi
je 0x409a4d
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 0x409a4d
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.0040c2c0
push 0x25
push 0x3a
mov edi, ebx
call fcn.0040c0f0
push 0x25
push 0x5c
call fcn.0040c0f0
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 0x40997c
cmp dword [ebp - 0x468], ebx
je 0x40997c
lea eax, [ebp - 0x47c]
lea esi, [ebp - 0x444]
call fcn.0040bf70
test eax, eax
mov byte [ebp - 0x47d], 1
jne 0x409982
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 0x409a26
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 0x409a10
cmp byte [ebp + 8], bl
je 0x409a10
cmp dword [ebp - 0x464], 8
mov eax, dword [ebp - 0x478]
jae 0x4099da
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 0x409a05
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 0x409a66
lea edi, [ebx + 0x18]
call fcn.0042c5d0
mov byte [ebp - 4], 8
jmp 0x409a75
lea edi, [ebp - 0x444]
call fcn.0042c5d0
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.00436432
ret 4