Function at 0x10002650
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ca50
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1518
call fcn.1006cbd0
mov eax, dword [0x1009e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor eax, eax
mov dword [ebp - 0xe4], 0
push eax
push 0x1000
push dword [ebp - 0xa8]
xorps xmm0, xmm0
mov dword [ebp - 0xe0], 7
movups xmmword [ebp - 0xf4], xmm0
push 0x1000
lea ecx, [ebp - 0xf4]
mov word [ebp - 0xf4], ax
call fcn.100058b0
cmp dword [ebp - 0xe0], 7
lea eax, [ebp - 0xf4]
cmova eax, dword [ebp - 0xf4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
push 0
push 0x100976f0
call fcn.10006960
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10002785
push 0
push 2
push str.32_bit_float_mono_audio
push 0x1009770c
push edi
call fcn.100069f0
add esp, 0x14
mov esi, eax
push 0
push 2
push str.32_bit_float_mono_audio
push 0x10097710
push edi
call fcn.100069f0
add esp, 0x14
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], esi
push eax
push 0x100021e0
push edi
call fcn.10006a20
add esp, 0xc
push edi
call fcn.10006900
add esp, 4
push edi
call fcn.10006990
add esp, 4
push edi
call fcn.10006930
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x514
mov dword [ebp - 0x9c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.100025a0
test al, al
je 0x100027cc
mov esi, 0x320
nop dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.100025a0
push 0x1e
call edi
sub esi, 1
jne 0x100027b0
mov esi, dword [ebp - 0x9c]
push 0x32
call edi
sub esi, 1
mov dword [ebp - 0x9c], esi
jne 0x10002796
mov dword [ebp - 4], 0
call fcn.1006bb5f
mov esi, eax
call fcn.1006bb5f
mov edi, eax
xor eax, eax
or eax, esi
mov dword [ebp - 0x1504], eax
call fcn.1006bb5f
mov esi, eax
call fcn.1006bb5f
mov dword [ebp - 0xd0], eax
xor ecx, ecx
mov eax, dword [ebp - 0x1504]
xorps xmm0, xmm0
push 0x1408
mov dword [ebp - 0xc4], eax
or ecx, esi
lea eax, [ebp - 0x1500]
mov dword [ebp - 4], 0xffffffff
push 0
push eax
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xc8], edi
movlpd qword [ebp - 0x1518], xmm0
movlpd qword [ebp - 0x1510], xmm0
call fcn.1006e5f0
movups xmm0, xmmword [ebp - 0x1518]
push ecx
mov eax, esp
lea ecx, [ebp - 0x1500]
push 0
push 0x1f4
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xd0]
push 3
push 0xa
push 0x3e8
movups xmmword [eax], xmm0
call fcn.10007000
xorps xmm0, xmm0
movlpd qword [ebp - 0xb0], xmm0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
nop dword [eax]
nop word [eax + eax]
add ecx, 1
xorps xmm0, xmm0
movlpd qword [ebp - 0xa0], xmm0
mov edi, dword [ebp - 0x9c]
adc eax, 0
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x1504], eax
mov dword [ebp - 0x1520], ecx
mov dword [ebp - 0x151c], eax
nop word [eax + eax]
add esi, 1
lea ecx, [ebp - 0x1500]
mov dword [ebp - 0x1528], esi
adc edi, 0
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x1524], edi
movups xmm0, xmmword [ebp - 0x1528]
movups xmmword [eax], xmm0
call fcn.10007810
test al, al
je 0x10002929
test edi, edi
jne 0x10002929
cmp esi, 0x14
jb 0x100028f0
mov ecx, dword [ebp - 0x14dc]
xor eax, eax
test ecx, ecx
je 0x10002942
cmp eax, ecx
jae 0x10002daf
inc eax
cmp eax, ecx
jb 0x1000293d
mov eax, dword [ebp - 0x14f0]
xor esi, esi
mov ecx, dword [ebp - 0x14f4]
sub eax, ecx
sar eax, 4
test eax, eax
je 0x100029ee
xor edx, edx
mov dword [ebp - 0x9c], edx
nop word [eax + eax]
cmp esi, dword [ebp - 0x14d8]
jae 0x10002daf
lea edi, [ebp - 0x14b8]
cmp esi, eax
jae 0x10002989
lea edi, [ecx + edx]
push esi
call fcn.100032e0
mov edx, 0x10097650
mov ecx, eax
call fcn.10004dd0
push dword [edi + 0xc]
mov ecx, eax
push dword [edi + 8]
call fcn.10003100
mov edx, 0x100976ec
mov ecx, eax
call fcn.10004dd0
push dword [edi + 4]
mov ecx, eax
push dword [edi]
call fcn.10003100
push eax
call fcn.10005080
mov eax, dword [ebp - 0x14f0]
inc esi
mov ecx, dword [ebp - 0x14f4]
add esp, 4
mov edx, dword [ebp - 0x9c]
sub eax, ecx
add edx, 0x10
sar eax, 4
mov dword [ebp - 0x9c], edx
cmp esi, eax
jb 0x10002970
push 0x1009f6d8
call fcn.10005080
mov eax, dword [ebp - 0x14a8]
add esp, 4
cmp eax, dword [ebp - 0x14b8]
jne 0x10002a33
mov eax, dword [ebp - 0x14a4]
cmp eax, dword [ebp - 0x14b4]
jne 0x10002a33
mov eax, dword [ebp - 0x14a0]
cmp eax, dword [ebp - 0x14b0]
jne 0x10002a33
mov eax, dword [ebp - 0x149c]
cmp eax, dword [ebp - 0x14ac]
je 0x10002aae
lea eax, [ebp - 0x58]
push eax
call fcn.100746a9
cdq
add esp, 4
mov esi, eax
mov edi, edx
lea eax, [ebp - 0x98]
push eax
call fcn.100746a9
cdq
lea ecx, [ebp - 0x1500]
mov dword [ebp - 0x1518], eax
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x1514], edx
mov dword [ebp - 0x1510], esi
mov dword [ebp - 0x150c], edi
movups xmm0, xmmword [ebp - 0x1518]
movups xmmword [eax], xmm0
lea eax, [ebp - 0xc8]
push eax
call fcn.10007cb0
mov eax, dword [ebp - 0xc4]
test eax, 0xffffffe0
je 0x10002a9d
not eax
test eax, eax
jne 0x10002a33
mov eax, dword [ebp - 0x1504]
mov ecx, dword [ebp - 0xa8]
jmp 0x100028b0
lea ecx, [ebp - 0x1500]
call fcn.10002de0
cmp dword [ebp - 0xe4], 0
je 0x10002d55
push 0x30023
call fcn.1006c6ff
add esp, 4
test eax, eax
je 0x10002dd0
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
push 0x30000
push 0
push ecx
mov dword [ecx - 4], eax
lea esi, [ecx + 0x30000]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb4], esi
call fcn.1006e5f0
mov dword [ebp - 0xb8], esi
add esp, 0xc
xor esi, esi
xor ecx, ecx
movd xmm1, esi
xor edx, edx
cvtdq2ps xmm1, xmm1
nop dword [eax]
mov eax, dword [ebp - 0xbc]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [ecx + eax], xmm0
mov eax, dword [ebp - 0xbc]
movss dword [ecx + eax + 4], xmm1
lea eax, [edx + esi]
movd xmm0, eax
inc edx
mov eax, dword [ebp - 0xbc]
cvtdq2ps xmm0, xmm0
movss dword [ecx + eax + 8], xmm0
add ecx, 0xc
cmp edx, 0x80
jl 0x10002b20
inc esi
cmp ecx, 0x30000
jl 0x10002b10
push 0x30023
call fcn.1006c6ff
add esp, 4
test eax, eax
je 0x10002dd0
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
push 0x30000
push 0
push ecx
mov dword [ecx - 4], eax
lea eax, [ecx + 0x30000]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xa8], eax
call fcn.1006e5f0
movsd xmm0, qword [0x10097768]
lea eax, [ebp - 0x9c]
add esp, 0xc
mov dword [ebp - 0x9c], 0
push eax
push 0x30000
push dword [ebp - 0xb0]
sub esp, 8
movsd qword [esp], xmm0
push 0
push 0
push 3
push 0x80
push 0x80
push 1
push 6
push dword [ebp - 0xbc]
call fcn.1000e8f0
add esp, 0x34
push 0x30023
call fcn.1006c6ff
add esp, 4
test eax, eax
je 0x10002dd0
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
push 0x30000
push 0
push ecx
mov dword [ecx - 4], eax
lea eax, [ecx + 0x30000]
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd4], eax
call fcn.1006e5f0
add esp, 0xc
push dword [ebp - 0xdc]
push 6
push 3
push 0x80
push 0x80
push 1
push 0
push 0
push dword [ebp - 0x9c]
push dword [ebp - 0xb0]
call fcn.1000e860
mov edx, dword [ebp - 0xdc]
add esp, 0x28
test edx, edx
je 0x10002cc0
mov ecx, dword [ebp - 0xd4]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10002c98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002dd0
push ecx
push edx
call fcn.1006c734
add esp, 8
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov ecx, dword [ebp - 0xb0]
test ecx, ecx
je 0x10002d18
mov edx, dword [ebp - 0xa8]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10002cf0
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002dd0
push edx
push ecx
call fcn.1006c734
add esp, 8
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov edx, dword [ebp - 0xbc]
test edx, edx
je 0x10002d55
mov ecx, dword [ebp - 0xb4]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10002d4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002dd0
push ecx
push edx
call fcn.1006c734
add esp, 8
mov ecx, dword [ebp - 0xe0]
cmp ecx, 7
jbe 0x10002d91
mov edx, dword [ebp - 0xf4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10002d87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002dd0
push ecx
push edx
call fcn.1006c734
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006c6ec
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.index_is_out_of_range
lea ecx, [ebp - 0xcc]
call fcn.10001330
push 0x1009c704
lea eax, [ebp - 0xcc]
push eax
call fcn.1006e004
call fcn.10074a17
int3