Function at 0x100f0030
Capabilities:
Check if file exists
Get file attributes

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 0x1018a4aa
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x10207514]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
add eax, 4
mov edi, dword [ebx + 8]
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x60], 0
call fcn.10007960
mov dword [ebp - 4], 0
mov ecx, 0x10212710
mov dword [ebp - 0x68], 0x10212710
call fcn.10003430
mov byte [ebp - 4], 1
cmp dword [0x1021270c], 0
jne 0x100f00c8
push 1
call fcn.10161f74
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 1
mov dword [0x1021270c], eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.100077d0
cmp dword [ebp - 0x1c], 0
je 0x100f00f5
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100f01d4
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
jb 0x100f0113
mov edx, dword [ebp - 0x2c]
test edx, edx
jne 0x100f0113
lea ecx, [ebp - 0x5c]
call fcn.10007bc0
jmp 0x100f0134
lea eax, [ebp - 0x61]
mov byte [ebp - 0x62], 0
push eax
lea eax, [ebp - 0x62]
mov byte [ebp - 0x61], 0
push eax
push ecx
push 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x5c]
call fcn.100f4040
add esp, 0x14
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x60], 3
mov byte [ebp - 4], 5
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
push ecx
push dword [ebp - 0x4c]
cmovae edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.100f43a0
mov esi, 0xb
mov dword [ebp - 0x60], 0xb
mov dword [ebp - 0x60], esi
lea ecx, [ebp - 0x2c]
and esi, 0xfffffff7
add esp, 8
mov dword [ebp - 0x60], esi
or esi, 4
mov dword [ebp - 4], 4
mov dword [ebp - 0x60], esi
call fcn.10009450
movups xmm0, xmmword [ebp - 0x44]
xor eax, eax
lea ecx, [ebp - 0x44]
and esi, 0xfffffffb
mov word [ebp - 0x44], ax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 3
call fcn.100078b0
and esi, 0xfffffffe
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 0
call fcn.10007b00
mov eax, dword [0x10212738]
test eax, eax
jne 0x100f020e
mov ecx, dword [0x10212740]
mov edx, dword [ecx]
test edx, edx
je 0x100f01fd
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x10212740]
mov eax, dword [0x10212738]
mov esi, dword [eax]
mov eax, dword [ecx]
test eax, eax
je 0x100f0210
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x100f0210
mov esi, dword [eax]
push dword [ebp - 0x6c]
lea eax, [ebp - 0x2c]
push eax
push edi
push ecx
mov ecx, esi
call fcn.100f6840
add esp, 4
mov ecx, eax
call fcn.100f9d20
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100078b0
mov eax, edi
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.10161f63
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc