Function at 0x1002ff8c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005cb89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003010d
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x10030011
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x1003000c
push 0x398
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10030108
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x34], 0xfffffffc
mov dword [ebp - 0x8c], 0xffffffff
mov dword [ebp - 0x58], 0x8319
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x60], 0xfe497d6a
mov dword [ebp - 0x20], 0
jmp 0x10030067
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1003007d
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x94], 0x788afb1c
jmp 0x10030060
cmp dword [ebp - 0x34], 0
je 0x100300a1
xor eax, eax
inc eax
je 0x100300a1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x94], 0
je 0x100300a1
mov dword [ebp - 0x2c], 1
jmp 0x100300a5
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x58]
jne 0x100300b3
cmp dword [ebp - 0x34], 0
je 0x100300c2
cmp dword [ebp - 0x3c], 0
je 0x100300c2
mov dword [ebp - 0x30], 1
jmp 0x100300c6
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0xb4]
push eax
call fcn.1002c106
pop ecx
mov esi, eax
lea edi, [ebp - 0xa8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
call fcn.1002d79d
shl eax, 1
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + eax*4]
sub eax, 0x12c
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
jmp 0x10030273
jmp 0x10030273
lea eax, [ebp + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x10030222
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x10030220
mov dword [ebp - 0x38], 0x5286
mov dword [ebp - 0x54], str.paoshlq_mtrnkc_ykzqbihe_rgmiykn
cmp dword [ebp - 0x38], 0x532d
jle 0x100301d8
push 0
push 0x25cb
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
and dword [ebp - 0x28], 0
jmp 0x1003017c
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2e1b
jge 0x100301d8
and dword [ebp - 0x24], 0
jmp 0x10030192
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6e
jge 0x100301d6
and dword [ebp - 0x18], 0
jmp 0x100301a5
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x488f
jge 0x100301d4
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
shl eax, cl
mov ecx, dword [ebp - 0x18]
shl eax, cl
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
mov ecx, 0x10076b78
call fcn.10001c56
jmp 0x1003019e
jmp 0x1003018b
jmp 0x10030175
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0x500d
jge 0x100301fa
mov edx, dword [ebp - 0x54]
mov ecx, 0x10076b78
call fcn.10003a53
jmp 0x10030216
or dword [ebp - 4], 0xffffffff
jmp 0x10030220
jmp 0x10030273
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0xffffffef
jmp 0x10030244
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 3
jne 0x10030273
mov byte [ebp - 0x11], 0
push 0
push 0x1be0
lea eax, [ebp - 0x11]
push eax
push 1
push 0x743a
push 1
push 0x2b6
call fcn.1002f3e1
add esp, 0x1c
jmp 0x10030239
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret