Function at 0x10001560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x100c5180]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ecx
push 0x1000
push dword [esp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x4c], 0
xor eax, eax
movaps xmmword [esp + 0x3c], xmm0
push 0x1000
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 7
mov word [esp + 0x40], ax
call fcn.10001b20
cmp dword [esp + 0x44], 7
lea eax, [esp + 0x30]
cmova eax, dword [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
push 0
push 0
push 4
push 1
call sym.fppr9_x64_0404.dll_caerDeviceOpen
push 1
push 1
push 0xfffffffffffffffe
push eax
mov dword [esp + 0x2c], eax
call sym.fppr9_x64_0404.dll_caerDeviceConfigSet
add esp, 0x24
push dword [esp + 8]
call sym.fppr9_x64_0404.dll_caerDeviceDataGet
add esp, 4
test eax, eax
jne 0x100015f3
lea eax, [esp + 8]
push eax
call sym.fppr9_x64_0404.dll_caerDeviceClose
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x6a4
add esp, 4
mov dword [esp + 8], esi
nop
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.100014b0
test al, al
je 0x10001650
mov esi, 0x320
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.100014b0
push 0x1e
call edi
sub esi, 1
jne 0x10001636
mov esi, dword [esp + 8]
push 0x32
call edi
sub esi, 1
mov dword [esp + 8], esi
jne 0x10001620
push 0x30023
call fcn.1008a4f7
add esp, 4
test eax, eax
je 0x100018f0
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
push 0x30000
push 0
push ecx
mov dword [ecx - 4], eax
lea esi, [ecx + 0x30000]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], esi
call fcn.1008bbf0
mov dword [esp + 0x28], esi
add esp, 0xc
xor esi, esi
xor ecx, ecx
movd xmm1, esi
xor edx, edx
cvtdq2ps xmm1, xmm1
nop word [eax + eax]
mov eax, dword [esp + 0x18]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [ecx + eax], xmm0
mov eax, dword [esp + 0x18]
movss dword [ecx + eax + 4], xmm1
lea eax, [edx + esi]
movd xmm0, eax
inc edx
mov eax, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
movss dword [ecx + eax + 8], xmm0
add ecx, 0xc
cmp edx, 0x80
jl 0x100016b0
inc esi
cmp ecx, 0x30000
jl 0x100016a1
push 0x30023
call fcn.1008a4f7
add esp, 4
test eax, eax
je 0x100018f0
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
push 0x30000
push 0
push ecx
mov dword [ecx - 4], eax
lea eax, [ecx + 0x30000]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
call fcn.1008bbf0
movsd xmm0, qword [0x100c0110]
lea eax, [esp + 0x14]
add esp, 0xc
mov dword [esp + 8], 0
push eax
push 0x30000
push dword [esp + 0x14]
sub esp, 8
movsd qword [esp], xmm0
push 0
push 0
push 3
push 0x80
push 0x80
push 1
push 6
push dword [esp + 0x48]
call fcn.1002e4f0
push 0x30023
call fcn.1008a4f7
add esp, 0x38
test eax, eax
je 0x100018f0
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
push 0x30000
push 0
push ecx
mov dword [ecx - 4], eax
lea eax, [ecx + 0x30000]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
call fcn.1008bbf0
push dword [esp + 0x30]
push 6
push 3
push 0x80
push 0x80
push 1
push 0
push 0
push dword [esp + 0x34]
push dword [esp + 0x3c]
call fcn.1002e460
mov edx, dword [esp + 0x58]
add esp, 0x34
test edx, edx
je 0x10001824
mov ecx, dword [esp + 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10001802
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100018f0
push ecx
push edx
call fcn.1008a52c
add esp, 8
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x10001872
mov edx, dword [esp + 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10001850
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100018f0
push edx
push ecx
call fcn.1008a52c
add esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x18]
test edx, edx
je 0x100018a7
mov ecx, dword [esp + 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1000189d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100018f0
push ecx
push edx
call fcn.1008a52c
add esp, 8
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x100018df
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100018d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100018f0
push ecx
push edx
call fcn.1008a52c
add esp, 8
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.1008a4e9
mov esp, ebp
pop ebp
ret
call fcn.1008e1ca
int3