Function at 0x10002610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x10093940]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor eax, eax
mov dword [esp + 0x40], 0
push eax
push 0x1000
push dword [esp + 0x1c]
xorps xmm0, xmm0
mov dword [esp + 0x50], 7
movaps xmmword [esp + 0x3c], xmm0
lea ecx, [esp + 0x3c]
push 0x1000
mov word [esp + 0x40], ax
call fcn.10005270
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 0xac44
call fcn.10019250
add esp, 4
mov esi, eax
push 0x1008a860
push esi
call fcn.100192b0
add esp, 8
test eax, eax
je 0x100026b1
push esi
call fcn.10019210
add esp, 4
push 0x2b133
call fcn.10049b25
add esp, 4
test eax, eax
je 0x10002a3c
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
push 0x2b110
push 0
push ecx
mov dword [ecx - 4], eax
lea esi, [ecx + 0x2b110]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], esi
call fcn.1004baa0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x28], esi
test edx, edx
je 0x1000272a
mov ecx, dword [esp + 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x10002720
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002a3c
push ecx
push edx
call fcn.10049b55
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x6a4
mov dword [esp + 0x14], esi
nop dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10002560
test al, al
je 0x10002770
mov esi, 0x320
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10002560
push 0x1e
call edi
sub esi, 1
jne 0x10002756
mov esi, dword [esp + 0x14]
push 0x32
call edi
sub esi, 1
mov dword [esp + 0x14], esi
jne 0x10002740
push 0xffffffffffffffff
push 0
push 5
push 5
push 4
push 4
push 3
push 3
push 2
push 2
push 1
push 1
push 0
push 0
lea eax, [esp + 0x88]
push 6
push eax
call fcn.100082a0
push 1
push 8
call fcn.10054dd3
mov ecx, eax
add esp, 0x48
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x100027f3
mov ecx, dword [0x1015af1c]
mov eax, dword fs:[0x2c]
push 2
push 0x92
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x10002a2d
push str.src_core_vector.c
push str.Cannot_initialize_vector.
call eax
add esp, 0x10
jmp 0x100027fe
lea eax, [ecx + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
sub esp, 0x10
lea edx, [esp + 0x28]
lea ecx, [esp + 0x60]
call fcn.10009b00
mov edi, dword [esp + 0x28]
add esp, 0x10
xor esi, esi
test edi, edi
je 0x10002a19
mov eax, dword [esp + 0x20]
sub eax, edi
sar eax, 3
cmp esi, eax
jge 0x10002840
movsd xmm1, qword [edi + esi*8]
call fcn.10002c00
mov ecx, eax
call fcn.10004940
inc esi
jmp 0x10002817
mov eax, dword [0x1015a1f0]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1015a220]
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x24]
push eax
call fcn.100046e0
add esp, 4
mov ecx, dword [eax]
push 0xa
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x14], al
test ecx, ecx
je 0x10002891
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10002891
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x14]
mov ecx, 0x1015a1f0
call fcn.10005b20
mov ecx, 0x1015a1f0
call fcn.10004400
push edi
call fcn.10057b94
add esp, 4
lea eax, [esp + 0x50]
push eax
call fcn.10006510
add esp, 4
cmp dword [esp + 0x40], 0
je 0x100029cd
call sym.3DGlue10_32.dll_cpSpaceNew
movaps xmm0, xmmword [0x1008bcc0]
sub esp, 0x10
mov ecx, esp
mov esi, eax
mov dword [esp + 0x24], esi
push esi
movups xmmword [ecx], xmm0
call sym.3DGlue10_32.dll_cpSpaceSetGravity
movaps xmm0, xmmword [0x1008bca0]
add esp, 4
movups xmmword [esp], xmm0
call sym.3DGlue10_32.dll_cpBodyNew
push eax
push esi
call sym.3DGlue10_32.dll_cpSpaceAddBody
movaps xmm0, xmmword [0x1008bc80]
add esp, 8
mov ecx, esp
mov edi, eax
push edi
movups xmmword [ecx], xmm0
call sym.3DGlue10_32.dll_cpBodySetPosition
movaps xmm0, xmmword [0x1008bca0]
add esp, 4
movups xmmword [esp], xmm0
call sym.3DGlue10_32.dll_cpBodyNew
push eax
push esi
call sym.3DGlue10_32.dll_cpSpaceAddBody
movaps xmm0, xmmword [0x1008bc90]
add esp, 8
mov ecx, esp
mov esi, eax
push esi
movups xmmword [ecx], xmm0
call sym.3DGlue10_32.dll_cpBodySetPosition
movups xmm0, xmmword [0x1008a8b8]
add esp, 4
mov eax, esp
sub esp, 8
movups xmmword [eax], xmm0
movsd xmm0, qword [0x1008bc68]
movsd qword [esp], xmm0
push edi
call sym.3DGlue10_32.dll_cpCircleShapeNew
mov edi, dword [esp + 0x30]
add esp, 0x1c
push eax
push edi
call sym.3DGlue10_32.dll_cpSpaceAddShape
movups xmm0, xmmword [0x1008a8b8]
sub esp, 8
mov eax, esp
sub esp, 8
movups xmmword [eax], xmm0
movsd xmm0, qword [0x1008bc68]
movsd qword [esp], xmm0
push esi
call sym.3DGlue10_32.dll_cpCircleShapeNew
add esp, 0x1c
push eax
push edi
call sym.3DGlue10_32.dll_cpSpaceAddShape
movsd xmm0, qword [0x1008bc60]
movsd qword [esp], xmm0
push edi
call sym.3DGlue10_32.dll_cpSpaceStep
add esp, 0xc
push edi
call sym.3DGlue10_32.dll_cpSpaceFree
add esp, 4
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x10002a05
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100029fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002a3c
push ecx
push edx
call fcn.10049b55
add esp, 8
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.10049b12
mov esp, ebp
pop ebp
ret
push 0x202
mov edx, str.src_core_vector.c
mov ecx, str.Assertion_failed:_v__stor_begin___NULL
call fcn.1000a980
mov edx, str.src_core_vector.c
mov ecx, str.Cannot_initialize_vector.
call fcn.1000a850
call fcn.10057ede
int3