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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100787c4
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x10094080]
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, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x10]
cmp dword [esi + 0x14], 7
mov dword [ebp - 0xc4], eax
mov eax, esi
jbe 0x1001a7be
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1001a7d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1001aab3
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea edx, [ebp - 0x44]
mov dword [ebp - 4], 1
mov ecx, esi
call fcn.100026c0
test al, al
jne 0x1001a829
push 0x10085a42
lea ecx, [ebp - 0xe0]
call fcn.10026140
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 2
push eax
push 0x6a
jmp 0x1001aad3
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
movq qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x24], 0
and dword [ebp - 0x24], 0xfffffeff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x74
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.10054510
add esp, 0xc
lea ecx, [ebp - 0xbc]
call fcn.1002f6f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
mov eax, dword [ebp - 0x34]
jbe 0x1001a88e
mov ecx, dword [ebp - 0x44]
add eax, ecx
jmp 0x1001a893
add eax, ecx
lea ecx, [ebp - 0x44]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10025ca0
cmp dword [ebp - 0x80], 0xf
lea ecx, [ebp - 0x94]
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x2c]
cmova ecx, dword [ebp - 0x94]
push ecx
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0xbc]
call fcn.1002f810
test al, al
jne 0x1001a8f3
push 0x10085a42
lea ecx, [ebp - 0xe0]
call fcn.10026140
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 9
push eax
push 0x6c
jmp 0x1001aad3
mov ecx, dword [0x10096ce4]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x4b
call fcn.10023260
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001a918
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001a91a
add ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10038630
test eax, eax
je 0x1001aa7e
mov ecx, dword [0x10096ce4]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x4b
call fcn.10023260
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001a951
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001a953
add ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100383f0
mov ecx, dword [0x10096ce4]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], 0x48
call fcn.10023260
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1001a988
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x1001a98a
add ecx, eax
push ecx
mov ecx, dword [ebp - 0xc0]
push eax
call fcn.10038630
test eax, eax
je 0x1001aa7e
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.1001ab00
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.1001ba50
mov ecx, dword [ebp - 0xcc]
cmp ecx, 0xf
jbe 0x1001a9f7
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a9ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001aaef
push ecx
push edx
call fcn.10052cc4
add esp, 8
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
call fcn.1001c030
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
push esi
call fcn.1001b640
lea ecx, [ebp - 0xbc]
call fcn.100182c0
lea ecx, [ebp - 0x2c]
call fcn.10037120
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1001aa61
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001aa57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001aaf4
push ecx
push edx
call fcn.10052cc4
add esp, 8
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.10052655
mov esp, ebp
pop ebp
ret 0xc
push 0x10085a42
lea ecx, [ebp - 0xe0]
call fcn.10026140
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0xa
push eax
push 0x6e
lea ecx, [ebp - 0x130]
call fcn.10011bd0
push 0x10092748
lea eax, [ebp - 0x130]
jmp 0x1001aae9
push 0x10085a42
lea ecx, [ebp - 0xe0]
call fcn.10026140
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], 0
push eax
push 0x67
lea ecx, [ebp - 0x108]
call fcn.10011bd0
push 0x10092748
lea eax, [ebp - 0x108]
push eax
call fcn.10053f20
call fcn.1005bfa5
call fcn.1005bfa5
int3