Function at 0x10010522
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100577fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xe0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10010710
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x100106c3
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
mov eax, dword [0x102dbbf4]
and eax, 1
jne 0x100105e3
mov eax, dword [0x102dbbf4]
or eax, 1
mov dword [0x102dbbf4], eax
and dword [ebp - 4], 0
mov ecx, 0x102dbba0
call fcn.10011cd7
push 0x10058af6
call fcn.100410b7
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10073e71]
test eax, eax
je 0x10010646
mov ecx, 0x102dbba0
call fcn.10011d9c
movzx eax, al
test eax, eax
jne 0x10010646
push dword [ebp - 0x40]
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x102dbba0
call fcn.10011da5
lea eax, [ebp - 0xd8]
push eax
mov ecx, 0x102dbba0
call fcn.10011d8e
push eax
lea ecx, [ebp - 0x5c]
call fcn.10011bb7
movzx eax, al
test eax, eax
je 0x10010646
lea ecx, [ebp - 0x5c]
call fcn.10011dba
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax + 4]
mov dword [ecx], eax
jmp 0x10010a82
mov eax, dword [ebp - 0x40]
push dword [eax]
lea eax, [ebp - 0xf0]
push eax
call fcn.1001e577
pop ecx
pop ecx
mov dword [ebp - 4], 1
push 0
push 0
lea eax, [ebp - 0xf0]
push eax
push dword [ebp - 0x78]
call fcn.1000dc05
add esp, 0x10
mov dword [ebp - 0x4c], eax
push 0x10073e71
push 1
lea eax, [ebp - 0x4c]
push eax
push 0x102dbba0
push dword [ebp - 0x40]
push 1
call fcn.1001017b
add esp, 0x18
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.10011b5a
jmp 0x10010a82
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x60]
cdq
mov ecx, 0x3e8
idiv ecx
mov esi, eax
mov eax, dword [ebp - 0x60]
cdq
mov ecx, 0x3e8
idiv ecx
mov edi, edx
mov ecx, dword [ebp - 0x7c]
call fcn.10001bdb
add eax, edi
add eax, esi
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], eax
jmp 0x10010a82
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x84], 0x2480
cmp dword [ebp - 0x84], 0xd3b
jge 0x10010950
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xcc]
push eax
push str._lf__lf__lf__lf__lf
call fcn.10040dfb
add esp, 0x18
movsd xmm0, qword [0x10065ee0]
mulsd xmm0, qword [ebp - 0x8c]
movsd qword [ebp - 0x2c], xmm0
movsd xmm0, qword [ebp - 0x2c]
comisd xmm0, xmmword [0x10065ef0]
jbe 0x10010799
movsd xmm0, qword [ebp - 0x2c]
subsd xmm0, qword [0x10065ef0]
movsd qword [ebp - 0x2c], xmm0
movsd xmm0, qword [ebp - 0x8c]
divsd xmm0, qword [0x10065ef8]
addsd xmm0, qword [ebp - 0xb4]
mulsd xmm0, qword [0x10065ee0]
movsd qword [ebp - 0x58], xmm0
movsd xmm0, qword [ebp - 0x58]
comisd xmm0, xmmword [0x10065ef0]
jbe 0x100107df
movsd xmm0, qword [ebp - 0x2c]
subsd xmm0, qword [0x10065ef0]
movsd qword [ebp - 0x2c], xmm0
movsd xmm0, qword [ebp - 0x8c]
divsd xmm0, qword [0x10065ef0]
movsd xmm1, qword [ebp - 0xb4]
divsd xmm1, qword [0x10065ef8]
addsd xmm1, qword [ebp - 0xcc]
addsd xmm1, xmm0
mulsd xmm1, qword [0x10065ee8]
movsd qword [ebp - 0x48], xmm1
movsd xmm0, qword [ebp - 0x48]
comisd xmm0, xmmword [0x10065ef0]
jbe 0x10010839
movsd xmm0, qword [ebp - 0x48]
subsd xmm0, qword [0x10065ef0]
movsd qword [ebp - 0x48], xmm0
movsd xmm0, qword [0x10065ee8]
mulsd xmm0, qword [ebp - 0xbc]
movsd qword [ebp - 0x3c], xmm0
movsd xmm0, qword [0x10065ee8]
mulsd xmm0, qword [ebp - 0xc4]
movsd qword [ebp - 0x34], xmm0
movsd xmm0, qword [ebp - 0x3c]
comisd xmm0, xmmword [ebp - 0x34]
jbe 0x10010893
movsd xmm0, qword [ebp - 0x3c]
movsd qword [ebp - 0xd4], xmm0
movsd xmm0, qword [ebp - 0x34]
movsd qword [ebp - 0x3c], xmm0
movsd xmm0, qword [ebp - 0xd4]
movsd qword [ebp - 0x34], xmm0
mov byte [ebp - 0x11], 0
movsd xmm0, qword [ebp - 0x2c]
comisd xmm0, xmmword [ebp - 0x3c]
jbe 0x100108e3
movsd xmm0, qword [ebp - 0x34]
comisd xmm0, xmmword [ebp - 0x2c]
jbe 0x100108e3
movsd xmm0, qword [ebp - 0x58]
comisd xmm0, xmmword [ebp - 0x3c]
jbe 0x100108e3
movsd xmm0, qword [ebp - 0x34]
comisd xmm0, xmmword [ebp - 0x58]
jbe 0x100108e3
movsd xmm0, qword [ebp - 0x48]
comisd xmm0, xmmword [ebp - 0x3c]
jbe 0x100108e3
movsd xmm0, qword [ebp - 0x34]
comisd xmm0, xmmword [ebp - 0x48]
jbe 0x100108e3
mov byte [ebp - 0x11], 1
movsd xmm0, qword [ebp - 0x2c]
comisd xmm0, xmmword [ebp - 0x3c]
jbe 0x100108fb
movsd xmm0, qword [ebp - 0x34]
comisd xmm0, xmmword [ebp - 0x2c]
ja 0x1001092f
movsd xmm0, qword [ebp - 0x58]
comisd xmm0, xmmword [ebp - 0x3c]
jbe 0x10010913
movsd xmm0, qword [ebp - 0x34]
comisd xmm0, xmmword [ebp - 0x58]
ja 0x1001092f
movsd xmm0, qword [ebp - 0x48]
comisd xmm0, xmmword [ebp - 0x3c]
jbe 0x1001092b
movsd xmm0, qword [ebp - 0x34]
comisd xmm0, xmmword [ebp - 0x48]
ja 0x1001092f
mov byte [ebp - 0x11], 1
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10010940
mov dword [ebp - 0x68], 0x10060808
jmp 0x10010947
mov dword [ebp - 0x68], 0x1006080c
push dword [ebp - 0x68]
call fcn.10041296
pop ecx
mov dword [ebp - 0x64], 0x574a
mov dword [ebp - 0x90], str.rffeic_ibydhgoo_xltc_uhkb
cmp dword [ebp - 0x64], 0x59eb
jle 0x10010a2d
push 0
push 0x182c
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
and dword [ebp - 0x20], 0
jmp 0x10010998
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x146b
jge 0x10010a20
and dword [ebp - 0x1c], 0
jmp 0x100109ae
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x42a0
jge 0x10010a1b
and dword [ebp - 0x24], 0
jmp 0x100109c4
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x51c2
jge 0x10010a19
and dword [ebp - 0x18], 0
jmp 0x100109da
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x714a
jge 0x10010a17
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x1c]
sub edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x18]
mov eax, edx
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
mov ecx, 0x10072d38
call fcn.10011982
jmp 0x100109d3
jmp 0x100109bd
jmp 0x100109a7
jmp 0x10010991
push 0x102e
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
push dword [ebp - 0xa4]
call fcn.100039c8
pop ecx
pop ecx
mov dword [ebp - 4], 2
cmp dword [ebp - 0x64], 0x551d
jge 0x10010a5c
mov edx, dword [ebp - 0x90]
mov ecx, 0x10072d38
call fcn.10016228
jmp 0x10010a78
or dword [ebp - 4], 0xffffffff
jmp 0x10010a82
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret