Function at 0x1002fae0
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x8e4
lea ebp, [esp - 4]
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x8e4], eax
push 0x2c
mov eax, 0x100e9945
call fcn.100773f7
mov ebx, ecx
push 0x100fa2d8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], ebx
call fcn.10001df0
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.10001fc0
lea eax, [ebp]
push eax
lea eax, [ebp + 0x8c]
push eax
call fcn.1001b179
pop ecx
pop ecx
cmp dword [ebp + 0xa4], 0x10
mov eax, dword [ebp + 0x90]
mov byte [ebp - 4], 3
jae 0x1002fb65
lea eax, [ebp + 0x90]
push 0x2f2f
push eax
call fcn.1007d680
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
jne 0x1002fbb6
push esi
push 1
lea ecx, [ebp + 0x8c]
call fcn.10001f70
push esi
push 1
lea ecx, [ebp]
call fcn.10001fc0
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.100773e8
add ebp, 0x8e8
leave
ret
cmp dword [ebp + 0xa4], 0x10
mov eax, dword [ebp + 0x90]
jae 0x1002fbcb
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.10023a4f
push esi
inc edi
push edi
mov dword [ebp - 0x10], eax
call fcn.10023a4f
mov edi, eax
push edi
push 1
call fcn.1001962f
add esp, 0x18
cmp dword [ebp - 0x10], edi
jae 0x1002fc16
cmp eax, dword [ebp - 0x10]
jbe 0x1002fc16
call fcn.100058ef
mov ecx, eax
call fcn.10017c43
push eax
push 0x100f22d8
push str.CanPopupPushApp
push str.PushBranch
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x100fa298
lea ecx, [ebp - 0x30]
call fcn.10001df0
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.10001fc0
cmp edi, esi
je 0x1002fb78
cmp dword [edi + 0x18], 8
jb 0x1002fc57
mov edi, dword [edi + 4]
jmp 0x1002fc5a
add edi, 4
push edi
lea ecx, [ebp + 0x38]
call fcn.10001df0
push 0x1011e03c
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 5
call fcn.100099b2
test eax, eax
jne 0x1002fca5
xor edi, edi
push esi
push 1
lea ecx, [ebp + 0x38]
call fcn.10001fc0
push esi
push 1
lea ecx, [ebp + 0x8c]
call fcn.10001f70
push esi
push 1
lea ecx, [ebp]
call fcn.10001fc0
mov eax, edi
jmp 0x1002fb93
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.10003c90
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.10077be0
push edi
lea eax, [ebp + 0xc6]
push esi
push eax
mov word [ebp + 0xc4], si
call fcn.10077be0
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 0x1002fd05
lea eax, [ebp + 0x3c]
lea ecx, [ebp + 0xc4]
push ecx
push eax
call fcn.10019d63
pop ecx
pop ecx
lea eax, [ebp + 0x6dc]
push eax
lea ecx, [ebp + 0x70]
call fcn.10001df0
lea eax, [ebp + 0x6dc]
push eax
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 7
call fcn.10001df0
lea eax, [ebp + 0xc4]
push eax
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 8
call fcn.10003cf0
lea eax, [ebp + 0xc4]
push eax
lea ecx, [ebp + 0x54]
call fcn.10003cf0
push edi
lea eax, [ebp + 0x2ce]
push esi
push eax
mov word [ebp + 0x2cc], si
call fcn.10077be0
push edi
lea eax, [ebp + 0x4d6]
push esi
push eax
mov word [ebp + 0x4d4], si
call fcn.10077be0
add esp, 0x18
lea ecx, [ebp - 0x38]
call fcn.10001bc0
lea eax, [ebp + 0x6dc]
push eax
lea ecx, [ebp + 0xa8]
mov byte [ebp - 4], 9
call fcn.10001df0
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 0xa
jae 0x1002fdb3
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x30]
call fcn.10001df0
lea eax, [ebp + 0xa8]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
call fcn.10001c60
push esi
push 1
lea ecx, [ebp - 0x30]
movzx edi, al
call fcn.10001fc0
push esi
push 1
lea ecx, [ebp + 0xa8]
mov byte [ebp - 4], 9
call fcn.10001fc0
cmp edi, esi
je 0x1002fff2
push str.downname
lea ecx, [ebp - 0x30]
call fcn.10001df0
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.10001fc0
cmp edi, esi
je 0x1002fee9
cmp dword [ebp + 0x88], 8
mov eax, dword [ebp + 0x74]
jae 0x1002fe40
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x2cc]
push eax
call fcn.100780db
lea eax, [ebp + 0x6dc]
push eax
lea eax, [ebp + 0x4d4]
push eax
call fcn.100780db
add esp, 0x10
cmp dword [edi + 0x18], 8
lea ebx, [edi + 4]
jb 0x1002fe70
mov eax, dword [ebx]
jmp 0x1002fe72
mov eax, ebx
push eax
lea eax, [ebp + 0x4d4]
push eax
call fcn.100780b1
lea eax, [ebp + 0x2cc]
push eax
call fcn.1007863d
lea eax, [ebp + 0x4d4]
push eax
call fcn.1007863d
lea eax, [ebp + 0x4d4]
push eax
lea eax, [ebp + 0x2cc]
push eax
call fcn.100782e7
add esp, 0x18
test eax, eax
je 0x1002fee6
lea eax, [ebp + 0x6dc]
push eax
lea ecx, [ebp + 0x54]
call fcn.10003cc0
cmp dword [edi + 0x18], 8
jb 0x1002fec8
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp + 0x54]
call fcn.10003cf0
lea eax, [ebp + 0x4d4]
push eax
lea eax, [ebp + 0x2cc]
push eax
call fcn.10019e83
pop ecx
pop ecx
mov ebx, dword [ebp - 0x14]
push str.parmes
lea ecx, [ebp - 0x30]
call fcn.10001df0
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.10001fc0
cmp edi, esi
jne 0x1002ff38
cmp dword [ebp + 0x88], 8
mov eax, dword [ebp + 0x74]
jae 0x1002ff2c
lea eax, [ebp + 0x74]
push eax
call fcn.1001a8a5
pop ecx
jmp 0x1002ffc1
push 0x1011e03c
lea ecx, [ebp + 0xa8]
call fcn.10001df0
push 0x100f57cc
lea ecx, [ebp + 0xa8]
mov byte [ebp - 4], 0xe
call fcn.10003cf0
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0xa8]
call fcn.10004260
push 0x100f5858
lea ecx, [ebp + 0xa8]
call fcn.10003cf0
cmp dword [edi + 0x18], 8
jb 0x1002ff89
mov edi, dword [edi + 4]
jmp 0x1002ff8c
add edi, 4
push edi
lea ecx, [ebp + 0xa8]
call fcn.10003cf0
cmp dword [ebp + 0xc0], 8
mov eax, dword [ebp + 0xac]
jae 0x1002ffad
lea eax, [ebp + 0xac]
push eax
call fcn.1001a8a5
pop ecx
push esi
push ebx
lea ecx, [ebp + 0xa8]
call fcn.10001fc0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.10001c50
push esi
push ebx
lea ecx, [ebp + 0x54]
call fcn.10001fc0
push esi
push ebx
lea ecx, [ebp + 0x70]
call fcn.10001fc0
push esi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.10001fc0
mov edi, ebx
jmp 0x1002fc7a
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.10001c50
push esi
push 1
lea ecx, [ebp + 0x54]
call fcn.10001fc0
push esi
push 1
lea ecx, [ebp + 0x70]
call fcn.10001fc0
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.10001fc0
jmp 0x1002fc78
push esi
mov esi, ecx
call fcn.10030024
test eax, eax
je 0x1003026b
mov ecx, esi
pop esi
jmp 0x1002fae0
pop esi
ret