Function at 0x10041125
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x8e4
lea ebp, [esp - 4]
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x8e4], eax
push 0x2c
mov eax, 0x1016dce3
call fcn.10075e22
mov ebx, ecx
push 0x10182ba4
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.100017f0
lea eax, [ebp]
push eax
lea eax, [ebp + 0x8c]
push eax
call fcn.1001fb72
pop ecx
pop ecx
cmp dword [ebp + 0xa4], 0x10
mov eax, dword [ebp + 0x90]
mov byte [ebp - 4], 3
jae 0x100411aa
lea eax, [ebp + 0x90]
push 0x2f2f
push eax
call fcn.1007cb30
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
jne 0x100411fb
push esi
push 1
lea ecx, [ebp + 0x8c]
call fcn.10001770
push esi
push 1
lea ecx, [ebp]
call fcn.100017f0
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.10075e13
add ebp, 0x8e8
leave
ret
cmp dword [ebp + 0xa4], 0x10
mov eax, dword [ebp + 0x90]
jae 0x10041210
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.1002c6f5
push esi
inc edi
push edi
mov dword [ebp - 0x10], eax
call fcn.1002c6f5
mov edi, eax
push edi
push 1
call fcn.1001db8f
add esp, 0x18
cmp dword [ebp - 0x10], edi
jae 0x1004125b
cmp eax, dword [ebp - 0x10]
jbe 0x1004125b
call fcn.10004cf1
mov ecx, eax
call fcn.1001b47e
push eax
push 0x10174114
push str.CanPopupPushApp
push str.PushBranch
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x10182b64
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.100017f0
cmp edi, esi
je 0x100411bd
cmp dword [edi + 0x18], 8
jb 0x1004129c
mov edi, dword [edi + 4]
jmp 0x1004129f
add edi, 4
push edi
lea ecx, [ebp + 0x38]
call fcn.100015f0
push 0x101d87ec
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 5
call fcn.100053e4
test eax, eax
jne 0x100412ea
xor edi, edi
push esi
push 1
lea ecx, [ebp + 0x38]
call fcn.100017f0
push esi
push 1
lea ecx, [ebp + 0x8c]
call fcn.10001770
push esi
push 1
lea ecx, [ebp]
call fcn.100017f0
mov eax, edi
jmp 0x100411d8
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.10003510
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.10076580
push edi
lea eax, [ebp + 0xc6]
push esi
push eax
mov word [ebp + 0xc4], si
call fcn.10076580
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 0x1004134a
lea eax, [ebp + 0x3c]
lea ecx, [ebp + 0xc4]
push ecx
push eax
call fcn.1001e289
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.10003540
lea eax, [ebp + 0xc4]
push eax
lea ecx, [ebp + 0x54]
call fcn.10003540
push edi
lea eax, [ebp + 0x2ce]
push esi
push eax
mov word [ebp + 0x2cc], si
call fcn.10076580
push edi
lea eax, [ebp + 0x4d6]
push esi
push eax
mov word [ebp + 0x4d4], si
call fcn.10076580
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 0x100413f8
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.100017f0
push esi
push 1
lea ecx, [ebp + 0xa8]
mov byte [ebp - 4], 9
call fcn.100017f0
cmp edi, esi
je 0x10041637
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.100017f0
cmp edi, esi
je 0x1004152e
cmp dword [ebp + 0x88], 8
mov eax, dword [ebp + 0x74]
jae 0x10041485
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x2cc]
push eax
call fcn.10076a8d
lea eax, [ebp + 0x6dc]
push eax
lea eax, [ebp + 0x4d4]
push eax
call fcn.10076a8d
add esp, 0x10
cmp dword [edi + 0x18], 8
lea ebx, [edi + 4]
jb 0x100414b5
mov eax, dword [ebx]
jmp 0x100414b7
mov eax, ebx
push eax
lea eax, [ebp + 0x4d4]
push eax
call fcn.10076a63
lea eax, [ebp + 0x2cc]
push eax
call fcn.10077163
lea eax, [ebp + 0x4d4]
push eax
call fcn.10077163
lea eax, [ebp + 0x4d4]
push eax
lea eax, [ebp + 0x2cc]
push eax
call fcn.10076c97
add esp, 0x18
test eax, eax
je 0x1004152b
lea eax, [ebp + 0x6dc]
push eax
lea ecx, [ebp + 0x54]
call fcn.100017c0
cmp dword [edi + 0x18], 8
jb 0x1004150d
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp + 0x54]
call fcn.10003540
lea eax, [ebp + 0x4d4]
push eax
lea eax, [ebp + 0x2cc]
push eax
call fcn.1001e3a9
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.100017f0
cmp edi, esi
jne 0x1004157d
cmp dword [ebp + 0x88], 8
mov eax, dword [ebp + 0x74]
jae 0x10041571
lea eax, [ebp + 0x74]
push eax
call fcn.1001ee9d
pop ecx
jmp 0x10041606
push 0x101d87ec
lea ecx, [ebp + 0xa8]
call fcn.100015f0
push 0x10178204
lea ecx, [ebp + 0xa8]
mov byte [ebp - 4], 0xe
call fcn.10003540
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0xa8]
call fcn.10003ab0
push 0x101782b0
lea ecx, [ebp + 0xa8]
call fcn.10003540
cmp dword [edi + 0x18], 8
jb 0x100415ce
mov edi, dword [edi + 4]
jmp 0x100415d1
add edi, 4
push edi
lea ecx, [ebp + 0xa8]
call fcn.10003540
cmp dword [ebp + 0xc0], 8
mov eax, dword [ebp + 0xac]
jae 0x100415f2
lea eax, [ebp + 0xac]
push eax
call fcn.1001ee9d
pop ecx
push esi
push ebx
lea ecx, [ebp + 0xa8]
call fcn.100017f0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.10001450
push esi
push ebx
lea ecx, [ebp + 0x54]
call fcn.100017f0
push esi
push ebx
lea ecx, [ebp + 0x70]
call fcn.100017f0
push esi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.100017f0
mov edi, ebx
jmp 0x100412bf
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.10001450
push esi
push 1
lea ecx, [ebp + 0x54]
call fcn.100017f0
push esi
push 1
lea ecx, [ebp + 0x70]
call fcn.100017f0
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.100017f0
jmp 0x100412bd
push esi
mov esi, ecx
call fcn.10041891
test eax, eax
je 0x10041ad8
mov ecx, esi
pop esi
jmp 0x10041125
pop esi
ret