Function at 0x1000ab10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047918
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100632c0]
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 + 0xb0]
test edx, edx
jne 0x1000ab99
call fcn.100030b0
mov ecx, eax
test ecx, ecx
je 0x1000ad70
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov eax, 0x1004a698
mov dword [ebp - 4], 0
mov ecx, edi
test eax, 0xffff0000
jne 0x1000ab88
movzx eax, ax
push eax
call fcn.1000adb0
jmp 0x1000ad51
push 0
push 0x1004a698
call fcn.10006bb0
jmp 0x1000ad51
cmp dword [ecx + 0xb4], 0x10
lea eax, [ecx + 0xa0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
jb 0x1000abb1
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push edx
push eax
call fcn.10003410
add esp, 0xc
call fcn.100030b0
mov ecx, eax
test ecx, ecx
je 0x1000ad7a
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 0x1000ac06
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.10003490
mov esi, dword [ebp - 0x2c]
cmp dword [esi - 8], 0x104
jl 0x1000ad84
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.10003290
push dword [esi - 8]
push esi
call fcn.10031653
add esp, 0x14
test eax, eax
js 0x1000ad84
cmp eax, dword [esi - 8]
jg 0x1000ad84
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x30]
push 1
push eax
call fcn.100179c0
push str._run_extention
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
call fcn.10005030
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 0x1000ac98
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 0x1000acb4
cmp dword [ebp + 0xc], eax
je 0x1000acb4
push dword [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
call fcn.100030b0
mov ecx, eax
test ecx, ecx
je 0x1000ad8e
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.10005900
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10009800
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 0x1000ad13
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 0x1000ad32
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 0x1000ad51
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.1001b60e
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10003270
push 0x80004005
call fcn.10003270
push 0x80070057
call fcn.10003270
push 0x80004005
call fcn.10003270
int3