Function at 0x40a7c2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442925
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x456220]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push esi
push edi
mov eax, dword [0x456220]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], esi
mov word [esp + 0x5c], si
mov dword [esp + 0x4d8], esi
cmp dword [ebx + 0x88], esi
je 0x40a845
lea eax, [ebx + 0x74]
xor edi, edi
call fcn.0040c277
cmp word [eax], 0x5c
jne 0x40a845
mov dword [ebx + 0x70], 2
mov eax, dword [ebx + 0x70]
cmp eax, 2
jne 0x40a8e2
lea edi, [ebx + 0x74]
lea ecx, [esp + 0x1c]
call fcn.0040c43e
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
push ecx
xor ebx, ebx
mov byte [esp + 0x4e0], 1
call fcn.004010f4
push ebx
push 1
lea esi, [esp + 0x24]
mov byte [esp + 0x4e0], bl
call fcn.0040117c
cmp dword [esp + 0x6c], ebx
jne 0x40a8bf
lea eax, [esp + 0x74]
push eax
call fcn.0040f0af
pop ecx
lea eax, [esp + 0x58]
push eax
lea edi, [esp + 0x78]
mov byte [esp + 0x4dc], 2
call fcn.0040cb9e
pop ecx
push ebx
push 1
mov esi, edi
mov byte [esp + 0x4e0], bl
call fcn.0040117c
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x70], 1
push 0xffffffffffffffff
jne 0x40aa11
lea ecx, [ebx + 0x324]
mov dword [esp + 0x18], ecx
lea eax, [ebx + 0x74]
push ecx
jmp 0x40aa20
cmp eax, esi
jne 0x40a915
push 0x26
lea ecx, [esp + 0x5c]
call fcn.0040c334
lea eax, [esp + 0x5c]
mov dword [esp], 0x446dac
push eax
call fcn.0040d729
pop ecx
pop ecx
push 0x446f5c
lea eax, [esp + 0x5c]
push eax
call fcn.00404bd2
jmp 0x40a981
lea eax, [esp + 0xac]
push eax
mov edi, 0x208
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, esi
je 0x40a94b
cmp eax, edi
jae 0x40a94b
mov word [esp + 0x4bc], si
lea eax, [esp + 0xac]
lea esi, [esp + 0x58]
call fcn.00401639
jmp 0x40a97f
lea eax, [esp + 0x74]
push eax
call fcn.0040f0af
pop ecx
lea eax, [esp + 0x58]
push eax
lea edi, [esp + 0x78]
mov byte [esp + 0x4dc], 3
call fcn.0040cb9e
pop ecx
push esi
push 1
mov esi, edi
mov byte [esp + 0x4e0], 0
call fcn.0040117c
xor esi, esi
cmp dword [ebx + 0x88], esi
je 0x40a8c3
lea eax, [ebx + 0x74]
lea esi, [esp + 0x74]
call fcn.004010a0
mov edi, 0x447344
push edi
mov eax, esi
mov byte [esp + 0x4dc], 4
call fcn.0040d6e1
lea eax, [esp + 0x5c]
mov dword [esp], 0x446dac
push eax
call fcn.0040d729
pop ecx
pop ecx
push 0x446f5c
lea eax, [esp + 0x5c]
push eax
call fcn.00404bd2
push 0xffffffffffffffff
mov eax, esi
push 0
lea esi, [esp + 0x60]
call fcn.004022dd
mov eax, esi
push edi
push eax
call fcn.0040d729
pop ecx
pop ecx
push 0x446f5c
mov eax, esi
push eax
call fcn.00404bd2
push 0
push 1
lea esi, [esp + 0x7c]
mov byte [esp + 0x4e0], 0
call fcn.0040117c
jmp 0x40a8c3
add ebx, 0x324
mov dword [esp + 0x18], ebx
push ebx
lea eax, [esp + 0x60]
xor ebx, ebx
call fcn.004010f4
mov ebx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x6c], eax
je 0x40ac2e
cmp byte [ebx + 0x90], al
je 0x40ac2e
cmp dword [ebx + 0x88], eax
je 0x40ac2e
cmp dword [ebx + 0x338], eax
je 0x40ac2e
lea esi, [esp + 0x38]
call fcn.004023e1
mov edi, str.SoftwareHaoZip_SFX
mov eax, edi
lea ecx, [esp + 0x74]
mov byte [esp + 0x4d8], 5
call fcn.0040161d
lea eax, [esp + 0x74]
mov byte [esp + 0x4d8], 6
call fcn.00402490
push 0
push 1
lea esi, [esp + 0x7c]
mov byte [esp + 0x1b], al
call fcn.0040117c
cmp byte [esp + 0x13], 0
je 0x40ac1d
push 7
xor ecx, ecx
pop eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ecx
mov word [esp + 0x94], cx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ecx
mov word [esp + 0x78], cx
push 0xffffffffffffffff
lea eax, [esp + 0x78]
mov byte [esp + 0x4dc], 8
push eax
mov eax, dword [esp + 0x1c]
xor ebx, ebx
call fcn.004010f4
lea esi, [esp + 0x74]
call fcn.0040d7cc
push 0x25
push 0x3a
call fcn.0040d6ae
push 0x25
push 0x5c
call fcn.0040d6ae
add esp, 0x10
mov eax, edi
lea ecx, [esp + 0x1c]
call fcn.0040161d
xor esi, esi
lea eax, [esp + 0x1c]
mov byte [esp + 0x4d8], 9
inc esi
push eax
lea ecx, [esp + 0x94]
lea edx, [esp + 0x78]
lea edi, [esp + 0x3c]
mov dword [esp + 0x18], esi
call fcn.004024e5
test al, al
je 0x40ab68
cmp dword [esp + 0xa4], ebx
je 0x40ab68
lea eax, [esp + 0x90]
lea ecx, [esp + 0x58]
call fcn.0040d59a
test eax, eax
mov byte [esp + 0x13], 1
jne 0x40ab6c
mov byte [esp + 0x13], bl
push 8
pop edi
push ebx
push esi
lea esi, [esp + 0x24]
mov dword [esp + 0x4e0], edi
call fcn.0040117c
cmp byte [esp + 0x13], bl
je 0x40abfe
mov eax, dword [esp + 0x18]
push 0x3ec
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x40abe9
cmp byte [ebp + 8], bl
je 0x40abe9
cmp dword [esp + 0xa8], edi
mov eax, dword [esp + 0x94]
jae 0x40abbd
lea eax, [esp + 0x94]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
mov edi, 0x143
push edi
push dword [esp + 0x20]
call esi
cmp dword [esp + 0x70], 8
mov eax, dword [esp + 0x5c]
jae 0x40abe0
lea eax, [esp + 0x5c]
push eax
push ebx
push edi
push dword [esp + 0x20]
call esi
push 0xffffffffffffffff
lea eax, [esp + 0x5c]
push eax
xor ebx, ebx
lea eax, [esp + 0x98]
call fcn.004010f4
push ebx
push 1
lea esi, [esp + 0x7c]
call fcn.0040117c
push ebx
push 1
lea esi, [esp + 0x98]
call fcn.0040117c
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x38]
mov byte [esp + 0x4d8], 0
call fcn.00402481
cmp dword [ebx + 0x2c], 0
lea ecx, [esp + 0x1c]
je 0x40ac4a
lea edi, [ebx + 0x18]
call fcn.0040c43e
mov byte [esp + 0x4d8], 0xa
jmp 0x40ac5b
lea edi, [esp + 0x58]
call fcn.0040c43e
mov byte [esp + 0x4d8], 0xb
push 0xffffffffffffffff
add ebx, 0x298
push ebx
xor ebx, ebx
call fcn.004010f4
push ebx
push 1
lea esi, [esp + 0x24]
call fcn.0040117c
push ebx
push 1
lea esi, [esp + 0x60]
call fcn.0040117c
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.0043253e
mov esp, ebp
pop ebp
ret 4