Function at 0x1004a618
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x8e4
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x8e4], eax
push 0x2c
mov eax, 0x1017fa0d
call fcn.1008546d
mov ebx, ecx
push 0x10195a80
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], ebx
call fcn.100015f0
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp]
xor esi, esi
push edx
mov dword [ebp - 4], esi
call dword [eax + 0x18]
push esi
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.100017c0
lea eax, [ebp]
push eax
lea eax, [ebp + 0x8c]
push eax
call fcn.1001e821
pop ecx
pop ecx
cmp dword [ebp + 0xa4], 0x10
mov eax, dword [ebp + 0x90]
mov byte [ebp - 4], 3
jae 0x1004a69d
lea eax, [ebp + 0x90]
push 0x2f2f
push eax
call fcn.1008c440
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
jne 0x1004a6ee
push esi
push 1
lea ecx, [ebp + 0x8c]
call fcn.10001770
push esi
push 1
lea ecx, [ebp]
call fcn.100017c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8e4]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x8e8
leave
ret
cmp dword [ebp + 0xa4], 0x10
mov eax, dword [ebp + 0x90]
jae 0x1004a703
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.10034dc5
push esi
inc edi
push edi
mov dword [ebp - 0x10], eax
call fcn.10034dc5
mov edi, eax
push edi
push 1
call fcn.1001c3c2
add esp, 0x18
cmp dword [ebp - 0x10], edi
jae 0x1004a74e
cmp eax, dword [ebp - 0x10]
jbe 0x1004a74e
call fcn.100052f9
mov ecx, eax
call fcn.10019985
push eax
push 0x10186140
push str.CanPopupPushApp
push str.PushBranch
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x10195a40
lea ecx, [ebp - 0x30]
call fcn.100015f0
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 4
call dword [eax + 0x1c]
push esi
push 1
lea ecx, [ebp - 0x30]
mov edi, eax
mov byte [ebp - 4], 3
call fcn.100017c0
cmp edi, esi
je 0x1004a6b0
cmp dword [edi + 0x18], 8
jb 0x1004a78f
mov edi, dword [edi + 4]
jmp 0x1004a792
add edi, 4
push edi
lea ecx, [ebp + 0x38]
call fcn.100015f0
push 0x101ebf0c
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 5
call fcn.100059c8
test eax, eax
jne 0x1004a7dd
xor edi, edi
push esi
push 1
lea ecx, [ebp + 0x38]
call fcn.100017c0
push esi
push 1
lea ecx, [ebp + 0x8c]
call fcn.10001770
push esi
push 1
lea ecx, [ebp]
call fcn.100017c0
mov eax, edi
jmp 0x1004a6cb
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.100035e0
mov edi, 0x206
push edi
lea eax, [ebp + 0x6de]
push esi
push eax
mov byte [ebp - 4], 6
mov word [ebp + 0x6dc], si
call fcn.10085bc0
push edi
lea eax, [ebp + 0xc6]
push esi
push eax
mov word [ebp + 0xc4], si
call fcn.10085bc0
add esp, 0x18
lea eax, [ebp + 0x6dc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x1004a83d
lea eax, [ebp + 0x3c]
lea ecx, [ebp + 0xc4]
push ecx
push eax
call fcn.1001ca5e
pop ecx
pop ecx
lea eax, [ebp + 0x6dc]
push eax
lea ecx, [ebp + 0x70]
call fcn.100015f0
lea eax, [ebp + 0x6dc]
push eax
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 7
call fcn.100015f0
lea eax, [ebp + 0xc4]
push eax
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 8
call fcn.10003640
lea eax, [ebp + 0xc4]
push eax
lea ecx, [ebp + 0x54]
call fcn.10003640
push edi
lea eax, [ebp + 0x2ce]
push esi
push eax
mov word [ebp + 0x2cc], si
call fcn.10085bc0
push edi
lea eax, [ebp + 0x4d6]
push esi
push eax
mov word [ebp + 0x4d4], si
call fcn.10085bc0
add esp, 0x18
lea ecx, [ebp - 0x38]
call fcn.100013c0
lea eax, [ebp + 0x6dc]
push eax
lea ecx, [ebp + 0xa8]
mov byte [ebp - 4], 9
call fcn.100015f0
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 0xa
jae 0x1004a8eb
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x30]
call fcn.100015f0
lea eax, [ebp + 0xa8]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
call fcn.10001460
push esi
push 1
lea ecx, [ebp - 0x30]
movzx edi, al
call fcn.100017c0
push esi
push 1
lea ecx, [ebp + 0xa8]
mov byte [ebp - 4], 9
call fcn.100017c0
cmp edi, esi
je 0x1004ab2a
push str.downname
lea ecx, [ebp - 0x30]
call fcn.100015f0
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 0xc
call dword [eax + 0x1c]
push esi
push 1
lea ecx, [ebp - 0x30]
mov edi, eax
mov byte [ebp - 4], 9
call fcn.100017c0
cmp edi, esi
je 0x1004aa21
cmp dword [ebp + 0x88], 8
mov eax, dword [ebp + 0x74]
jae 0x1004a978
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x2cc]
push eax
call fcn.100860cd
lea eax, [ebp + 0x6dc]
push eax
lea eax, [ebp + 0x4d4]
push eax
call fcn.100860cd
add esp, 0x10
cmp dword [edi + 0x18], 8
lea ebx, [edi + 4]
jb 0x1004a9a8
mov eax, dword [ebx]
jmp 0x1004a9aa
mov eax, ebx
push eax
lea eax, [ebp + 0x4d4]
push eax
call fcn.100860a3
lea eax, [ebp + 0x2cc]
push eax
call fcn.100867a3
lea eax, [ebp + 0x4d4]
push eax
call fcn.100867a3
lea eax, [ebp + 0x4d4]
push eax
lea eax, [ebp + 0x2cc]
push eax
call fcn.100862d7
add esp, 0x18
test eax, eax
je 0x1004aa1e
lea eax, [ebp + 0x6dc]
push eax
lea ecx, [ebp + 0x54]
call fcn.10003610
cmp dword [edi + 0x18], 8
jb 0x1004aa00
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp + 0x54]
call fcn.10003640
lea eax, [ebp + 0x4d4]
push eax
lea eax, [ebp + 0x2cc]
push eax
call fcn.1001cb7e
pop ecx
pop ecx
mov ebx, dword [ebp - 0x14]
push str.parmes
lea ecx, [ebp - 0x30]
call fcn.100015f0
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 0xd
call dword [eax + 0x1c]
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp - 0x30]
mov edi, eax
mov byte [ebp - 4], 9
call fcn.100017c0
cmp edi, esi
jne 0x1004aa70
cmp dword [ebp + 0x88], 8
mov eax, dword [ebp + 0x74]
jae 0x1004aa64
lea eax, [ebp + 0x74]
push eax
call fcn.1001fcfd
pop ecx
jmp 0x1004aaf9
push 0x101ebf0c
lea ecx, [ebp + 0xa8]
call fcn.100015f0
push 0x10189190
lea ecx, [ebp + 0xa8]
mov byte [ebp - 4], 0xe
call fcn.10003640
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0xa8]
call fcn.10003be0
push 0x10189240
lea ecx, [ebp + 0xa8]
call fcn.10003640
cmp dword [edi + 0x18], 8
jb 0x1004aac1
mov edi, dword [edi + 4]
jmp 0x1004aac4
add edi, 4
push edi
lea ecx, [ebp + 0xa8]
call fcn.10003640
cmp dword [ebp + 0xc0], 8
mov eax, dword [ebp + 0xac]
jae 0x1004aae5
lea eax, [ebp + 0xac]
push eax
call fcn.1001fcfd
pop ecx
push esi
push ebx
lea ecx, [ebp + 0xa8]
call fcn.100017c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.10001450
push esi
push ebx
lea ecx, [ebp + 0x54]
call fcn.100017c0
push esi
push ebx
lea ecx, [ebp + 0x70]
call fcn.100017c0
push esi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.100017c0
mov edi, ebx
jmp 0x1004a7b2
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.10001450
push esi
push 1
lea ecx, [ebp + 0x54]
call fcn.100017c0
push esi
push 1
lea ecx, [ebp + 0x70]
call fcn.100017c0
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.100017c0
jmp 0x1004a7b0
push esi
mov esi, ecx
call fcn.1004b02e
test eax, eax
je 0x1004b275
mov ecx, esi
pop esi
jmp 0x1004a618
pop esi
ret