Function at 0x47b3c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x7dee30]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
test eax, eax
je 0x47b400
push eax
push 0x7328c8
lea eax, [ebp - 0x10c]
push eax
push 0xe6
call fcn.0045fd40
add esp, 0x10
jmp 0x47b4a2
mov eax, dword [0x7df1d4]
test eax, eax
jne 0x47b432
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x210], 2
sete al
inc eax
mov dword [0x7df1d4], eax
cmp eax, 2
jne 0x47b457
lea eax, [ebp - 0x314]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x314]
push eax
call fcn.004c3c30
jmp 0x47b475
lea eax, [ebp - 0x210]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x210]
push eax
call fcn.004c2970
mov esi, eax
add esp, 4
test esi, esi
je 0x47b62e
push esi
push 0x7328c8
lea eax, [ebp - 0x10c]
push eax
push 0xe6
call fcn.0045fd40
push esi
call fcn.006fa47e
add esp, 0x14
mov dl, byte [ebp - 0x10c]
lea eax, [ebp - 0x10c]
test dl, dl
je 0x47b4b8
inc eax
cmp byte [eax], 0
jne 0x47b4b2
lea ecx, [ebp - 0x10c]
sub eax, ecx
mov ecx, str.etilqs_
and eax, 0x3fffffff
nop word [eax + eax]
inc ecx
cmp byte [ecx], 0
jne 0x47b4d0
mov esi, dword [ebp + 8]
sub ecx, str.etilqs_
and ecx, 0x3fffffff
add eax, 0x11
add eax, ecx
cmp eax, esi
jl 0x47b503
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10c]
test dl, dl
je 0x47b516
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x47b510
lea ecx, [ebp - 0x10c]
sub eax, ecx
and eax, 0x3fffffff
jbe 0x47b53b
lea ecx, [ebp + eax - 0x10d]
nop dword [eax]
cmp byte [ecx], 0x5c
jne 0x47b53b
dec ecx
sub eax, 1
jne 0x47b530
cmp eax, 0x105
jae 0x47b643
push edi
mov byte [ebp + eax - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
push str._setilqs_
lea eax, [esi - 0x11]
push ebx
push eax
call fcn.0045fd40
add esp, 0x10
mov edi, ebx
test ebx, ebx
je 0x47b581
cmp byte [ebx], 0
je 0x47b579
inc edi
cmp byte [edi], 0
jne 0x47b573
sub edi, ebx
and edi, 0x3fffffff
lea esi, [ebx + edi]
push esi
push 0xf
call fcn.0045ff80
add esp, 8
mov dword [ebp - 0x318], 0x3e
add esi, 2
mov ecx, 3
movzx eax, byte [esi - 2]
lea esi, [esi + 5]
xor edx, edx
div dword [ebp - 0x318]
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
xor edx, edx
mov byte [esi - 7], al
movzx eax, byte [esi - 6]
div dword [ebp - 0x318]
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
xor edx, edx
mov byte [esi - 6], al
movzx eax, byte [esi - 5]
div dword [ebp - 0x318]
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
xor edx, edx
mov byte [esi - 5], al
movzx eax, byte [esi - 4]
div dword [ebp - 0x318]
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
xor edx, edx
mov byte [esi - 4], al
movzx eax, byte [esi - 3]
div dword [ebp - 0x318]
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [esi - 3], al
sub ecx, 1
jne 0x47b5a1
mov byte [ebx + edi + 0xf], cl
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 7
pop esi
xor ecx, ebp
pop ebx
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
call fcn.006f4cdd
int3