Function at 0x409849
Capabilities:
Get common file path

Disassembly:
push 0x498
mov eax, 0x44211b
call fcn.004342a8
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
mov eax, dword [ebx + 0x70]
cmp eax, 2
jne 0x409921
lea edi, [ebx + 0x74]
lea ecx, [ebp - 0x4a4]
call fcn.0042a926
push 0xffffffffffffffff
lea ecx, [ebp - 0x444]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 1
call fcn.00401313
push ebx
push 1
lea esi, [ebp - 0x4a4]
mov byte [ebp - 4], bl
call fcn.004012b5
cmp dword [ebp - 0x430], ebx
jne 0x4098fa
lea eax, [ebp - 0x460]
push eax
call fcn.0040e5ff
pop ecx
lea eax, [ebp - 0x444]
push eax
lea edi, [ebp - 0x460]
mov byte [ebp - 4], 2
call fcn.0040ba1c
pop ecx
push ebx
push 1
mov esi, edi
mov byte [ebp - 4], bl
call fcn.004012b5
mov ebx, dword [ebp - 0x488]
cmp dword [ebx + 0x70], 1
push 0xffffffffffffffff
jne 0x409a4f
lea ecx, [ebx + 0x32c]
mov dword [ebp - 0x484], ecx
lea eax, [ebx + 0x74]
push ecx
jmp 0x409a62
cmp eax, esi
jne 0x409959
push 0x26
lea ecx, [ebp - 0x444]
call fcn.0042a81c
lea eax, [ebp - 0x444]
mov dword [esp], 0x446f00
call fcn.0040befb
lea eax, [ebp - 0x444]
mov dword [esp], 0x446efc
push eax
call fcn.00403f6b
jmp 0x4099bf
lea eax, [ebp - 0x428]
push eax
mov edi, 0x208
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, esi
je 0x40998b
cmp eax, edi
jae 0x40998b
mov word [ebp - 0x18], si
lea eax, [ebp - 0x428]
lea esi, [ebp - 0x444]
call fcn.00401247
jmp 0x4099bd
lea eax, [ebp - 0x460]
push eax
call fcn.0040e5ff
pop ecx
lea eax, [ebp - 0x444]
push eax
lea edi, [ebp - 0x460]
mov byte [ebp - 4], 3
call fcn.0040ba1c
pop ecx
push esi
push 1
mov esi, edi
mov byte [ebp - 4], 0
call fcn.004012b5
xor esi, esi
cmp dword [ebx + 0x88], esi
je 0x409900
lea eax, [ebx + 0x74]
lea esi, [ebp - 0x460]
call fcn.00403f4c
mov edi, 0x4472b4
push edi
mov eax, esi
mov byte [ebp - 4], 4
call fcn.0040bea1
lea eax, [ebp - 0x444]
mov dword [esp], 0x446f00
call fcn.0040befb
lea eax, [ebp - 0x444]
mov dword [esp], 0x446efc
push eax
call fcn.00403f6b
push 0xffffffffffffffff
mov eax, esi
push 0
lea esi, [ebp - 0x444]
call fcn.00404421
push edi
mov eax, esi
call fcn.0040befb
mov eax, esi
mov dword [esp], 0x446efc
push eax
call fcn.00403f6b
push 0
push 1
lea esi, [ebp - 0x460]
mov byte [ebp - 4], 0
call fcn.004012b5
jmp 0x409900
add ebx, 0x32c
mov dword [ebp - 0x484], ebx
push ebx
lea eax, [ebp - 0x444]
xor ebx, ebx
call fcn.00401313
mov ebx, dword [ebp - 0x488]
xor esi, esi
cmp dword [ebp - 0x430], esi
je 0x409c6e
cmp byte [ebx + 0x90], 0
je 0x409c6e
cmp dword [ebx + 0x88], esi
je 0x409c6e
cmp dword [ebx + 0x340], esi
je 0x409c6e
mov edi, str.SoftwareHaoZip_SFX
mov eax, edi
lea ecx, [ebp - 0x460]
call fcn.00401221
lea eax, [ebp - 0x460]
call fcn.0040161f
push esi
push 1
lea esi, [ebp - 0x460]
mov byte [ebp - 0x47d], al
call fcn.004012b5
cmp byte [ebp - 0x47d], 0
je 0x409c6e
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 - 0x448], eax
mov dword [ebp - 0x44c], ecx
mov word [ebp - 0x45c], cx
push 0xffffffffffffffff
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 6
push eax
mov eax, dword [ebp - 0x484]
xor ebx, ebx
call fcn.00401313
lea esi, [ebp - 0x460]
call fcn.0040bfc4
push 0x25
push 0x3a
call fcn.0040be6e
push 0x25
push 0x5c
call fcn.0040be6e
add esp, 0x10
mov eax, edi
lea ecx, [ebp - 0x4a4]
call fcn.00401221
xor esi, esi
lea eax, [ebp - 0x4a4]
mov byte [ebp - 4], 7
inc esi
push eax
lea edx, [ebp - 0x47c]
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x484], esi
call fcn.00401672
test al, al
je 0x409b9f
cmp dword [ebp - 0x468], ebx
je 0x409b9f
lea eax, [ebp - 0x47c]
lea ecx, [ebp - 0x444]
call fcn.0040bd5a
test eax, eax
mov byte [ebp - 0x47d], 1
jne 0x409ba5
mov byte [ebp - 0x47d], bl
push ebx
push esi
lea esi, [ebp - 0x4a4]
mov dword [ebp - 4], 6
call fcn.004012b5
cmp byte [ebp - 0x47d], bl
je 0x409c49
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 0x409c33
cmp byte [ebp + 8], bl
je 0x409c33
cmp dword [ebp - 0x464], 8
mov eax, dword [ebp - 0x478]
jae 0x409bfd
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 0x409c28
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.00401313
push ebx
push 1
lea esi, [ebp - 0x460]
call fcn.004012b5
push ebx
push 1
lea esi, [ebp - 0x47c]
mov byte [ebp - 4], bl
call fcn.004012b5
mov ebx, dword [ebp - 0x488]
cmp dword [ebx + 0x2c], 0
lea ecx, [ebp - 0x4a4]
je 0x409c88
lea edi, [ebx + 0x18]
call fcn.0042a926
mov byte [ebp - 4], 8
jmp 0x409c97
lea edi, [ebp - 0x444]
call fcn.0042a926
mov byte [ebp - 4], 9
push 0xffffffffffffffff
add ebx, 0x298
push ebx
xor ebx, ebx
call fcn.00401313
push ebx
push 1
lea esi, [ebp - 0x4a4]
call fcn.004012b5
push ebx
push 1
lea esi, [ebp - 0x444]
call fcn.004012b5
call fcn.0043432b
ret 4