Function at 0x10007d80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d065
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100de5dc]
xor eax, ebp
mov dword [ebp - 0x10], 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]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], ax
push ecx
push 0x1000
mov byte [ebp - 0x48], al
lea ecx, [ebp - 0x40]
push dword [ebp - 0x48]
mov dword [ebp - 4], eax
push 0x1000
call fcn.1001da60
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x41]
mov byte [ebp - 0x41], 0
push eax
push 3
push 1
push 0x1e0
push 0x280
lea ecx, [ebp - 0x28]
call fcn.10009260
mov byte [ebp - 4], 1
xor esi, esi
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jle 0x10007eb0
mov edx, dword [ebp - 0x28]
xor eax, eax
test edx, edx
jle 0x10007eab
mov ecx, esi
and ecx, 0x800000ff
jns 0x10007e4c
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x48], ecx
nop
mov ecx, eax
and ecx, 0x800000ff
jns 0x10007e62
dec ecx
or ecx, 0xffffff00
inc ecx
imul edx, esi
add edx, dword [ebp - 0x14]
mov byte [edx + eax], cl
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x48]
add ecx, esi
imul ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x14]
mov byte [ecx + eax], dl
lea edx, [eax + esi]
and edx, 0x800000ff
jns 0x10007e90
dec edx
or edx, 0xffffff00
inc edx
mov ecx, dword [ebp - 0x24]
lea ecx, [esi + ecx*2]
imul ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x14]
mov byte [ecx + eax], dl
inc eax
mov edx, dword [ebp - 0x28]
cmp eax, edx
jl 0x10007e50
mov ecx, dword [ebp - 0x24]
inc esi
cmp esi, ecx
jl 0x10007e34
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x514
mov dword [ebp - 0x48], esi
nop
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10007cd0
test al, al
je 0x10007eef
mov esi, 0x320
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10007cd0
push 0x1e
call edi
sub esi, 1
jne 0x10007ed6
mov esi, dword [ebp - 0x48]
push 0x32
call edi
sub esi, 1
mov dword [ebp - 0x48], esi
jne 0x10007ec0
push 6
push 0xffffffffffffffff
push 0x100d2584
lea ecx, [ebp - 0x28]
call fcn.100083f0
call fcn.10036690
test eax, eax
je 0x10007f84
push 0
push 0
push 0x100d2588
push 0x1e0
push 0x280
call fcn.10036a30
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10007f7f
push esi
call fcn.100362b0
add esp, 4
call fcn.10034660
test eax, eax
jne 0x10007f84
push esi
call fcn.10036e50
add esp, 4
test eax, eax
jne 0x10007f7f
mov edi, dword [sym.imp.OPENGL32.dll_glClear]
nop dword [eax + eax]
push 0x4000
call edi
push esi
call fcn.10036340
call fcn.10036e30
push esi
call fcn.10036e50
add esp, 8
test eax, eax
je 0x10007f60
call fcn.10036750
cmp byte [ebp - 0x18], 0
jne 0x10007f95
push dword [ebp - 0x14]
call fcn.1003f6e4
add esp, 4
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x10007fcb
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10007fc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007fe6
push ecx
push edx
call fcn.1003fc36
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003f6d6
mov esp, ebp
pop ebp
ret
call fcn.1004b8ff
int3