Function at 0x1000bcb2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1000bd31
lea eax, [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1000bd07
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1000bd05
push 0x1905
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x1000bd2c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
jmp 0x1000bfcb
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x1000bd9d
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1000bd7b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 4
jge 0x1000bd98
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x54]
call fcn.10029f5b
mov dword [eax], 0x8f18b011
jmp 0x1000bd70
jmp 0x1000bfcb
mov dword [ebp - 0x58], 0x20f4
cmp dword [ebp - 0x58], 0x130e
jge 0x1000bf71
movsd xmm0, qword [0x10008758]
movsd qword [ebp - 0x68], xmm0
movsd xmm0, qword [0x10008758]
movsd qword [ebp - 0x70], xmm0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
push 0x10008144
call fcn.1004f9f0
add esp, 0xc
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x10008130
call fcn.1004f9f0
pop ecx
pop ecx
movsd xmm0, qword [0x10008758]
movsd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x10], 1
jmp 0x1000be11
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jg 0x1000bf71
movsd xmm0, qword [ebp - 0x60]
addsd xmm0, qword [ebp - 0x70]
movsd qword [ebp - 0x60], xmm0
movsd xmm0, qword [0x10008790]
mulsd xmm0, qword [ebp - 0x68]
movsd xmm1, qword [ebp - 0x60]
comisd xmm1, xmm0
jb 0x1000be7d
movsd xmm0, qword [0x10008790]
mulsd xmm0, qword [ebp - 0x68]
movsd xmm1, qword [ebp - 0x60]
divsd xmm1, qword [0x10008790]
divsd xmm1, qword [ebp - 0x68]
cvttsd2si eax, xmm1
cvtsi2sd xmm1, eax
mulsd xmm0, xmm1
movsd xmm1, qword [ebp - 0x60]
subsd xmm1, xmm0
movsd qword [ebp - 0x60], xmm1
movsd xmm0, qword [ebp - 0x68]
comisd xmm0, xmmword [ebp - 0x60]
jb 0x1000bea7
push ecx
push ecx
movsd xmm0, qword [ebp - 0x60]
movsd qword [esp], xmm0
push 0x10008150
call fcn.1004fd81
add esp, 0xc
jmp 0x1000bf6c
movsd xmm0, qword [0x10008780]
mulsd xmm0, qword [ebp - 0x68]
comisd xmm0, xmmword [ebp - 0x60]
jb 0x1000beea
movsd xmm0, qword [ebp - 0x60]
subsd xmm0, qword [ebp - 0x68]
push ecx
push ecx
movsd qword [esp], xmm0
push ecx
push ecx
movsd xmm0, qword [ebp - 0x68]
movsd qword [esp], xmm0
push 0x10008160
call fcn.1004fd81
add esp, 0x14
jmp 0x1000bf6c
movsd xmm0, qword [0x10008788]
mulsd xmm0, qword [ebp - 0x68]
comisd xmm0, xmmword [ebp - 0x60]
jb 0x1000bf32
push ecx
push ecx
movsd xmm0, qword [ebp - 0x68]
movsd qword [esp], xmm0
movsd xmm0, qword [0x10008788]
mulsd xmm0, qword [ebp - 0x68]
subsd xmm0, qword [ebp - 0x60]
push ecx
push ecx
movsd qword [esp], xmm0
push 0x10008160
call fcn.1004fd81
add esp, 0x14
jmp 0x1000bf6c
movsd xmm0, qword [0x10008790]
mulsd xmm0, qword [ebp - 0x68]
comisd xmm0, xmmword [ebp - 0x60]
jb 0x1000bf6c
movsd xmm0, qword [0x10008790]
mulsd xmm0, qword [ebp - 0x68]
subsd xmm0, qword [ebp - 0x60]
push ecx
push ecx
movsd qword [esp], xmm0
push 0x10008170
call fcn.1004fd81
add esp, 0xc
jmp 0x1000be0a
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x1000bf88
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x18
jge 0x1000bfb2
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1000bfb0
push 0
push 0
push 0x80f
push 0x1a6a
push 0
call dword [sym.imp.USER32.dll_InsertMenuW]
jmp 0x1000bf81
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1000bfcb
push 0x8e6
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret