Function at 0x1003b950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x10109610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1010f728]
push ebx
push esi
test eax, eax
je 0x1003b98d
push eax
push 0x100f06f8
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.100393a0
add esp, 0x10
jmp 0x1003ba70
mov eax, dword [0x1010f718]
test eax, eax
jne 0x1003b9bf
lea ecx, [ebp - 0x228]
push ecx
mov dword [ebp - 0x228], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x218], 2
sete al
inc eax
mov dword [0x1010f718], eax
cmp eax, 2
jne 0x1003ba09
lea edx, [ebp - 0x318]
push edx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x318]
push eax
call fcn.1003afb0
mov esi, eax
add esp, 4
test esi, esi
je 0x1003bbd5
push esi
push 0x100f06f8
lea ecx, [ebp - 0x110]
push ecx
push 0xe6
call fcn.100393a0
push esi
jmp 0x1003ba68
lea edx, [ebp - 0x218]
push edx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x218]
push eax
call fcn.1003b020
mov esi, eax
add esp, 4
test esi, esi
je 0x1003bbd5
push esi
call fcn.1003afb0
add esp, 4
push esi
mov ebx, eax
call fcn.100b3773
add esp, 4
test ebx, ebx
je 0x1003bbd5
push ebx
push 0x100f06f8
lea ecx, [ebp - 0x110]
push ecx
push 0xe6
call fcn.100393a0
push ebx
call fcn.100b3773
add esp, 0x14
cmp byte [ebp - 0x110], 0
lea eax, [ebp - 0x110]
je 0x1003ba86
nop
inc eax
cmp byte [eax], 0
jne 0x1003ba80
lea edx, [ebp - 0x110]
sub eax, edx
and eax, 0x3fffffff
jbe 0x1003baa1
mov ecx, edx
cmp byte [ecx + eax - 1], 0x5c
jne 0x1003baa1
dec eax
jne 0x1003ba97
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
push str._setilqs_
push edi
push 0xe7
call fcn.100393a0
add esp, 0x10
cmp byte [edi], 0
mov esi, edi
je 0x1003bad6
lea ebx, [ebx]
inc esi
cmp byte [esi], 0
jne 0x1003bad0
sub esi, edi
and esi, 0x3fffffff
cmp dword [0x1010a89c], 0
lea ecx, [edi + esi]
mov ebx, 0x14
mov dword [ebp - 0x320], ecx
jne 0x1003bb01
mov dword [ebp - 0x31c], 0
jmp 0x1003bb22
push 5
call dword [0x1010a8d8]
add esp, 4
mov dword [ebp - 0x31c], eax
test eax, eax
je 0x1003bb22
mov edx, eax
push edx
call dword [0x1010a8e0]
add esp, 4
call fcn.10039400
mov ecx, dword [ebp - 0x320]
mov byte [ecx], al
inc ecx
dec ebx
mov dword [ebp - 0x320], ecx
jne 0x1003bb22
mov eax, dword [ebp - 0x31c]
test eax, eax
je 0x1003bb4d
push eax
call dword [0x1010a8e8]
add esp, 4
mov ecx, 4
movzx eax, byte [edi + esi]
xor edx, edx
mov ebx, 0x3e
div ebx
add esi, 5
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 5], al
movzx eax, byte [edi + esi - 4]
xor edx, edx
div ebx
movzx eax, byte [edi + esi - 3]
movzx edx, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 4], dl
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 3], al
movzx eax, byte [edi + esi - 2]
xor edx, edx
div ebx
movzx eax, byte [edi + esi - 1]
movzx edx, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 2], dl
xor edx, edx
div ebx
dec ecx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], al
jne 0x1003bb52
mov byte [edi + esi], cl
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 7
pop ebx
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret