Function at 0x1001bb70
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1004651b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x1005a760]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005a760]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x29c]
mov ecx, dword [esp + 0x2a8]
mov ebx, dword [esp + 0x2a0]
mov esi, dword [esp + 0x2ac]
mov ebp, dword [esp + 0x2b0]
push 0xffffffffffffffff
xor edi, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2a8]
push edi
mov dword [esp + 0x20], ecx
xor edx, edx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], dx
call fcn.1000224e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x294], edi
cmp eax, edi
je 0x1001bc83
lea edi, [eax - 1]
cmp edi, eax
jbe 0x1001bc1e
call fcn.1001f7ef
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x34], 8
mov ecx, dword [esp + 0x20]
jae 0x1001bc2d
lea ecx, [esp + 0x20]
cmp word [ecx + edi*2], 0x5c
je 0x1001bc7c
lea edi, [eax - 1]
cmp edi, eax
jbe 0x1001bc44
call fcn.1001f7ef
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x34], 8
mov ecx, dword [esp + 0x20]
jae 0x1001bc53
lea ecx, [esp + 0x20]
cmp word [ecx + edi*2], 0x2f
je 0x1001bc7c
lea edi, [eax - 1]
cmp edi, eax
jbe 0x1001bc66
call fcn.1001f7ef
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x1001bc75
lea eax, [esp + 0x20]
cmp word [eax + edi*2], 0x3a
jne 0x1001bc83
mov edx, 0x1004b4d0
jmp 0x1001bc88
mov edx, 0x1004b4c8
mov eax, edx
lea edi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001bc90
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.10009c9e
mov eax, dword [esp + 0x20]
mov edi, 8
cmp dword [esp + 0x34], edi
jae 0x1001bcbd
lea eax, [esp + 0x20]
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x1001bd1b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], 0
call edi
cmp eax, 2
je 0x1001bcf0
call edi
cmp eax, 0x12
je 0x1001bcf0
call edi
mov esi, eax
jmp 0x1001bcf2
xor esi, esi
call fcn.1001e7b0
cmp dword [esp + 0x34], 8
mov edi, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
jb 0x1001bd14
mov edx, dword [esp + 0x20]
push edx
call fcn.1001f29f
add esp, 4
mov eax, edi
jmp 0x1001bda1
lea eax, [esp + 0x64]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001bd22
mov ecx, dword [esp + 0x18]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10001780
mov eax, dword [esp + 0x38]
test eax, 0x400
je 0x1001bd5a
mov dword [esi], 0
mov dword [ebp], 0
jmp 0x1001bd7a
test al, 0x10
je 0x1001bd6d
mov dword [esi], 3
mov dword [ebp], 3
jmp 0x1001bd7a
mov dword [esi], 2
mov dword [ebp], 2
mov esi, dword [esp + 0x14]
mov dword [esi], 0
call fcn.1001e7b0
mov dword [esi + 4], eax
cmp dword [esp + 0x34], edi
jb 0x1001bd9f
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1001f29f
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.1001f290
add esp, 0x284
ret