Function at 0x1003c959
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003ca3a
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1003ca23
mov dword [ebp - 8], 0x64a6847d
mov dword [ebp - 8], 8
jmp 0x1003c996
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 6
jne 0x1003ca21
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0
jmp 0x1003c9b7
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x1003c9ca
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x40], 0x39924432
jmp 0x1003c9b0
mov dword [ebp - 0x10], 0
jmp 0x1003c9da
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1003ca1c
mov byte [ebp - 1], 0
push 0x6f56
push 0x2fa6
push 0x3133
push 0x2e31
push 0x372a
push 0x78a
push 0x3c15
push 0x6cfc
lea eax, [ebp - 1]
push eax
push 0
call fcn.10041aca
add esp, 0x28
jmp 0x1003c9d3
jmp 0x1003c98f
jmp 0x1003ca35
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1003ca35
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
jmp 0x1003cbcb
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x1003ca7f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1003ca7a
push 0
push 0x6941
call fcn.10032808
pop ecx
pop ecx
jmp 0x1003cbcb
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0x2123
cmp dword [ebp - 0x34], 0x117a
jge 0x1003cbb4
lea eax, [ebp - 0x14]
push eax
push 0x10007710
call fcn.1005cc6b
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x38], 0
je 0x1003cbb4
lea eax, [ebp - 0x48]
push eax
push 0x1000880c
call fcn.1005cc6b
pop ecx
pop ecx
movsd xmm0, qword [ebp - 0x48]
ucomisd xmm0, qword [0x100094d8]
lahf
test ah, 0x44
jp 0x1003caf9
push 0x10008810
call fcn.1005d62d
pop ecx
jmp 0x1003cbaf
movsd xmm0, qword [0x10009500]
comisd xmm0, xmmword [ebp - 0x48]
jbe 0x1003cb18
push 0x1000881c
call fcn.1005d62d
pop ecx
jmp 0x1003cbaf
movsd xmm0, qword [ebp - 0x48]
mulsd xmm0, qword [ebp - 0x48]
movsd xmm1, qword [0x10009500]
mulsd xmm1, qword [ebp - 0x48]
subsd xmm0, xmm1
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.1005d7a4
pop ecx
pop ecx
fstp qword [ebp - 0x50]
movsd xmm0, qword [ebp - 0x48]
subsd xmm0, qword [ebp - 0x50]
divsd xmm0, qword [0x100094f8]
push ecx
push ecx
movsd qword [esp], xmm0
movsd xmm0, qword [ebp - 0x48]
mulsd xmm0, qword [ebp - 0x48]
movsd xmm1, qword [0x10009500]
mulsd xmm1, qword [ebp - 0x48]
subsd xmm0, xmm1
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.1005d7a4
pop ecx
pop ecx
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
addsd xmm0, qword [ebp - 0x48]
divsd xmm0, qword [0x100094f8]
push ecx
push ecx
movsd qword [esp], xmm0
push 0x10008820
call fcn.1005d2b3
add esp, 0x14
jmp 0x1003caaf
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1003cbcb
push 0xc75
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esp, ebp
pop ebp
ret