Function at 0x1004f570
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 0x101c03f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c8
mov eax, dword [0x1029f280]
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 - 0x88], 0
push eax
push 0x1000
push dword [ebp - 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0x84], 7
movups xmmword [ebp - 0x98], xmm0
push 0x1000
lea ecx, [ebp - 0x98]
mov word [ebp - 0x98], ax
call fcn.10053e50
cmp dword [ebp - 0x84], 7
lea eax, [ebp - 0x98]
cmova eax, dword [ebp - 0x98]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
push 0x10294bb0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
call fcn.10053b80
mov dword [ebp - 0x5c], 0
call fcn.10068950
push 0
mov esi, eax
call fcn.10069bb0
push eax
push esi
call fcn.10068320
add esp, 0xc
lea ecx, [ebp - 0x78]
cmp dword [ebp - 0x64], 0xf
cmova ecx, dword [ebp - 0x78]
push dword [ebp - 0x68]
push ecx
push esi
call fcn.10068360
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.100681f0
add esp, 0xc
push esi
call fcn.100688c0
mov ecx, dword [ebp - 0x64]
add esp, 4
cmp ecx, 0xf
jbe 0x1004f6c4
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f6ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f8a6
push ecx
push edx
call fcn.101943fc
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x514
mov dword [ebp - 0x5c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1004f4c0
test al, al
je 0x1004f701
mov esi, 0x320
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1004f4c0
push 0x1e
call edi
sub esi, 1
jne 0x1004f6e8
mov esi, dword [ebp - 0x5c]
push 0x32
call edi
sub esi, 1
mov dword [ebp - 0x5c], esi
jne 0x1004f6d2
push ecx
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0
push ecx
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x70], xmm0
call fcn.100530d0
add esp, 8
mov dword [ebp - 0x80], 0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x70], xmm0
push eax
push ecx
lea ecx, [ebp - 0x138]
call fcn.100530d0
add esp, 0xc
cmp dword [ebp - 0x128], 0
jbe 0x1004f788
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x1004f788
push eax
call fcn.10199493
add esp, 4
mov dword [ebp - 0x120], 0
cmp dword [ebp - 0x1c8], 0
jbe 0x1004f7ae
mov eax, dword [ebp - 0x1c0]
test eax, eax
je 0x1004f7ae
push eax
call fcn.10199493
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x88], 0
je 0x1004f84c
call fcn.1004f100
sub esp, 8
mov dword [ebp - 0x70], 0
mov ecx, esp
mov dword [ebp - 0x6c], 0
movq xmm0, qword [ebp - 0x70]
mov edx, eax
push 2
sub esp, 0xc
mov dword [ecx], 0x1025d71a
mov eax, esp
mov dword [ecx + 4], 0
mov ecx, edx
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.1004cbc0
call fcn.1004f100
sub esp, 8
mov dword [ebp - 0x70], 0
mov ecx, esp
mov dword [ebp - 0x6c], 0
movq xmm0, qword [ebp - 0x70]
mov edx, eax
push 4
sub esp, 0xc
mov dword [ecx], 0x1025d71a
mov eax, esp
mov dword [ecx + 4], 0
mov ecx, edx
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.1004cbc0
mov ecx, dword [ebp - 0x84]
cmp ecx, 7
jbe 0x1004f888
mov edx, dword [ebp - 0x98]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f87e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f8ab
push ecx
push edx
call fcn.101943fc
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.10193ea5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1019f0fb
call fcn.1019f0fb
int3