Function at 0x1000fb50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b108
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1009d258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], edi
mov edx, dword [ecx + 0xc8]
test edx, edx
jne 0x1000fbd9
call fcn.10007a00
mov ecx, eax
test ecx, ecx
je 0x1000fdb0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov eax, 0x10080674
mov dword [ebp - 4], 0
mov ecx, edi
test eax, 0xffff0000
jne 0x1000fbc8
movzx eax, ax
push eax
call fcn.10010150
jmp 0x1000fd91
push 0
push 0x10080674
call fcn.1000bb80
jmp 0x1000fd91
cmp dword [ecx + 0xcc], 0x10
lea eax, [ecx + 0xb8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
jb 0x1000fbf1
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push edx
push eax
call fcn.10007d60
add esp, 0xc
call fcn.10007a00
mov ecx, eax
test ecx, ecx
je 0x1000fdba
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 4], 1
jge 0x1000fc46
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.10007de0
mov esi, dword [ebp - 0x2c]
cmp dword [esi - 8], 0x104
jl 0x1000fdc4
xor eax, eax
mov dword [esi - 0xc], 0x104
push 0x104
mov word [esi + 0x208], ax
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.10007be0
push dword [esi - 8]
push esi
call fcn.10064683
add esp, 0x14
test eax, eax
js 0x1000fdc4
cmp eax, dword [esi - 8]
jg 0x1000fdc4
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x30]
push 1
push eax
call fcn.10034d10
push str._run_extention
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
call fcn.10009e60
add esp, 0x14
mov edx, dword [ebp - 0x30]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fcd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000fcf4
cmp dword [ebp + 0xc], eax
je 0x1000fcf4
push dword [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
call fcn.10007a00
mov ecx, eax
test ecx, ecx
je 0x1000fdce
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
push esi
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push str._s_s
push eax
call fcn.1000a8c0
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.1000e740
mov edx, dword [ebp - 0x28]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fd53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fd72
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000fd91
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.10038a7a
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10007bc0
push 0x80004005
call fcn.10007bc0
push 0x80070057
call fcn.10007bc0
push 0x80004005
call fcn.10007bc0
int3