Function at 0x1002ee08
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100650f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002ee58
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
push 0
push dword [ebp - 0x30]
push 0x6ae0
push dword [ebp - 0x34]
call fcn.1002f02b
add esp, 0x10
jmp 0x1002f01a
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1002efcf
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
push 4
push 0x2000
mov eax, dword [ebp - 0x24]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x24]
push dword [eax + 0x34]
push 0x348
push 0x3ef
call fcn.1004ba9f
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov dword [ebp - 0x2c], 0x6405
mov dword [ebp - 0x48], 0x10009d00
cmp dword [ebp - 0x2c], 0x64fb
jle 0x1002ef62
and dword [ebp - 0x20], 0
jmp 0x1002eee3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2048
jge 0x1002ef5a
and dword [ebp - 0x18], 0
jmp 0x1002eef9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x382c
jge 0x1002ef58
and dword [ebp - 0x1c], 0
jmp 0x1002ef0f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7eaa
jge 0x1002ef56
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sar eax, cl
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
push dword [ebp - 0x60]
push dword [ebp - 0x64]
lea ecx, [ebp - 0x7c]
call fcn.1000d25a
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.1001a84e
push eax
call fcn.1004f3d6
pop ecx
lea ecx, [ebp - 0x7c]
call fcn.1001a844
jmp 0x1002ef08
jmp 0x1002eef2
jmp 0x1002eedc
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
jne 0x1002ef91
push 4
push 0x2000
mov eax, dword [ebp - 0x24]
push dword [eax + 0x50]
push 0
push 0x348
push 0x3ef
call fcn.1004ba9f
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x62ba
jge 0x1002efa7
push dword [ebp - 0x48]
call fcn.1004f3d6
pop ecx
jmp 0x1002efc3
or dword [ebp - 4], 0xffffffff
jmp 0x1002efcd
jmp 0x1002f01a
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002effd
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jge 0x1002f01a
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.1001ab3d
mov dword [eax], 1
jmp 0x1002eff2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret