Function at 0x1002e49c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075c00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push esi
push edi
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x114], 1
push 1
lea ecx, [ebp - 0xc4]
call fcn.1001737c
and dword [ebp - 4], 0
lea eax, [ebp - 0xc4]
push eax
push 1
lea eax, [ebp - 0x12c]
push eax
call fcn.1002deff
add esp, 0xc
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1002e527
push 1
push 0x138
call fcn.1002df70
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0xc4]
call fcn.1001740a
mov dword [eax], 3
jmp 0x1002e557
push 0
lea ecx, [ebp - 0xc4]
call fcn.1001740a
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xc4]
call fcn.1001740a
cmp dword [eax], 0
jl 0x1002e5a7
mov dword [ebp - 0xa8], 0xfffffffb
mov dword [ebp - 0xd4], 0xc9cc1417
push 0
lea ecx, [ebp - 0xc4]
call fcn.1001740a
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x120]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xd4], eax
jmp 0x1002e53c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.10017405
and dword [ebp - 0x160], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x15c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x144], 0xeb90
mov dword [ebp - 0x124], 0x52cb1363
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0x1c], 0
jmp 0x1002e5f8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002e60e
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x17c], 0xffffffff
jmp 0x1002e5f1
mov dword [ebp - 0x1c], 0
jmp 0x1002e61e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002e634
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xe4], 0
jmp 0x1002e617
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xe4]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xe4], eax
push 0x1ef0
lea eax, [ebp - 0xc8]
push eax
push 0x45b0
push 0
call fcn.10030a8e
add esp, 0x10
push 0x1c
lea eax, [ebp - 0x160]
push eax
push dword [ebp + 8]
push 0x8fa6
push 0x7cec
call fcn.10025fe8
pop ecx
pop ecx
call eax
test eax, eax
je 0x1002ece5
mov dword [ebp - 0x10], 0x75c9
push 1
lea ecx, [ebp - 0x50]
call fcn.1001737c
mov dword [ebp - 4], 1
mov dword [ebp - 0x28], 9
push 4
lea ecx, [ebp - 0x104]
call fcn.1001737c
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0x8dad4f6c
push 0x5f0d
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xdc]
push eax
push 1
push 0x3b5c
call fcn.1002dfa7
add esp, 0x14
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x1277
push 1
push 0x2950
call fcn.1002e051
add esp, 0x14
cmp dword [ebp - 0x10], 0
je 0x1002e9df
mov dword [ebp - 0xac], 0xfffffffa
mov dword [ebp - 0xa0], 0xc0336ae3
mov dword [ebp - 0x98], 0x11721670
mov dword [ebp - 0xd8], 0x53649d95
mov dword [ebp - 0x3c], 0
jmp 0x1002e74b
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x1002e761
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xb8], 1
jmp 0x1002e744
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x140], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xb8]
mov dword [ebp - 0xac], eax
mov esi, dword [ebp - 0xac]
push 0
lea ecx, [ebp - 0x50]
call fcn.1001740a
imul esi, dword [eax]
cmp esi, 0xd484
jne 0x1002e7b3
mov dword [ebp - 0x60], 1
jmp 0x1002e7b7
and dword [ebp - 0x60], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb8]
cmp dword [ebp - 0x60], eax
jl 0x1002e7e4
push 0
lea ecx, [ebp - 0x50]
call fcn.1001740a
cmp dword [eax], 0
je 0x1002e7e4
mov dword [ebp - 0x8c], 1
jmp 0x1002e7eb
and dword [ebp - 0x8c], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.1001740a
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [eax]
jg 0x1002e808
mov dword [ebp - 0x68], 1
jmp 0x1002e80c
and dword [ebp - 0x68], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.1001740a
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [eax]
jl 0x1002e829
mov dword [ebp - 0x90], 1
jmp 0x1002e830
and dword [ebp - 0x90], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.1001740a
mov ecx, dword [ebp - 0x90]
cmp ecx, dword [eax]
jge 0x1002e84d
mov dword [ebp - 0x70], 1
jmp 0x1002e851
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x4a6b
jle 0x1002e86f
mov dword [ebp - 0x78], 1
jmp 0x1002e873
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x10], eax
je 0x1002e890
mov dword [ebp - 0x80], 1
jmp 0x1002e894
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1002e8b2
mov eax, 0x1636
test eax, eax
jne 0x1002e8b2
and dword [ebp - 0x88], 0
jmp 0x1002e8bc
mov dword [ebp - 0x88], 1
cmp dword [ebp - 0x88], 0xffff
ja 0x1002e8d1
mov dword [ebp - 0x58], 1
jmp 0x1002e8d5
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
add eax, 0xe33e
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0xb8]
add eax, 0x587e4a09
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0xb8]
jl 0x1002e907
mov dword [ebp - 0x5c], 1
jmp 0x1002e90b
and dword [ebp - 0x5c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb8]
cmp dword [ebp - 0x5c], eax
jg 0x1002e926
mov dword [ebp - 0x54], 1
jmp 0x1002e92a
and dword [ebp - 0x54], 0
push 1
lea ecx, [ebp - 0x104]
call fcn.1001740a
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x50]
call fcn.1001740a
cmp esi, dword [eax]
jne 0x1002e95c
mov dword [ebp - 0x6c], 1
jmp 0x1002e960
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xd33d
jg 0x1002e972
mov dword [ebp - 0x74], 1
jmp 0x1002e976
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x74], eax
jg 0x1002e987
mov dword [ebp - 0x7c], 1
jmp 0x1002e98b
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0x38140a97
je 0x1002e9a0
mov dword [ebp - 0x84], 1
jmp 0x1002e9a7
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x84], eax
je 0x1002e9c7
mov eax, 0xa93f0451
test eax, eax
je 0x1002e9c7
mov dword [ebp - 0x94], 1
jmp 0x1002e9ce
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xd8], eax
jmp 0x1002eaa7
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x18], 0xffffffe8
jmp 0x1002e9f9
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffe7
jle 0x1002ea3a
push 0x76f9
push 0x596a
lea eax, [ebp - 0xcc]
push eax
push 0x17be
push 0x32f5
push 1
push 0x208
push 0x29a
push 0x29e4
push 0x5fa8
call fcn.1002e1e4
add esp, 0x28
jmp 0x1002e9f2
mov dword [ebp - 0x10], 3
jmp 0x1002ea4a
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1002eaa7
mov dword [ebp - 0x18], 3
jmp 0x1002ea60
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1002eaa5
mov dword [ebp - 0x28], 0
jmp 0x1002ea76
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jg 0x1002ea8f
mov byte [ebp - 0x20], 0
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.1002e376
pop ecx
pop ecx
jmp 0x1002ea6f
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1002eaa3
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x1002ea59
jmp 0x1002ea43
mov dword [ebp - 0x10], 0
jmp 0x1002eab7
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1002ead6
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x590a
call fcn.1002e3bb
add esp, 0x10
jmp 0x1002eab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x104]
call fcn.10017405
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10017405
mov dword [ebp - 0xd0], 0xee
mov eax, dword [ebp - 0x14c]
and eax, dword [ebp - 0xd0]
jne 0x1002eb15
mov dword [ebp - 0x9c], 1
jmp 0x1002eb1c
and dword [ebp - 0x9c], 0
mov al, byte [ebp - 0x9c]
mov byte [ebp - 0x11], al
push 2
lea ecx, [ebp - 0x110]
call fcn.1001737c
mov dword [ebp - 4], 3
mov dword [ebp - 0x128], 0xfffffffc
and dword [ebp - 0xf8], 0
and dword [ebp - 0xf4], 0
and dword [ebp - 0xf0], 0
and dword [ebp - 0xec], 0
lea ecx, [ebp - 0x41]
call fcn.100088c3
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x174]
call fcn.10017419
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x16c]
call fcn.100173db
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], 0
jmp 0x1002eba5
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1002ebc1
push dword [ebp - 0x30]
lea ecx, [ebp - 0x110]
call fcn.1001740a
mov dword [eax], 0xfffffffe
jmp 0x1002eb9e
push 1
lea ecx, [ebp - 0x110]
call fcn.1001740a
cmp dword [eax], 0
je 0x1002ebe9
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1002ebe7
push 1
call fcn.1002e422
pop ecx
jmp 0x1002ec00
mov dword [ebp - 0xa4], 4
mov eax, dword [ebp - 0xa4]
dec eax
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16c]
call fcn.10017405
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.10017405
mov eax, dword [ebp - 0x14c]
and eax, 0x101
je 0x1002ec2f
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0
jmp 0x1002ec46
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1002ec5c
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x13c], 0
jmp 0x1002ec3f
mov dword [ebp - 0x38], 2
jmp 0x1002ec6c
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x1002ecc6
mov dword [ebp - 0x2c], 0x3d9532bb
mov dword [ebp - 0x2c], 0
jmp 0x1002ec89
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jg 0x1002ecc4
mov dword [ebp - 0x40], 0xfffffff8
mov dword [ebp - 0x40], 0
jmp 0x1002eca6
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jg 0x1002ecc2
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0x13c]
mov dword [ebp + ecx*4 - 0x13c], eax
jmp 0x1002ec9f
jmp 0x1002ec82
jmp 0x1002ec65
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1002ece0
push 0x57fb
push 1
call fcn.1002e452
pop ecx
pop ecx
mov al, byte [ebp - 0x11]
jmp 0x1002ece7
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret