Function at 0x1002d449
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e6bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov dword [ebp - 0x28], 0xffffffff
push 3
lea ecx, [ebp - 0x90]
call fcn.10016cb0
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
jmp 0x1002d48f
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1002d4a5
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x9c], 0xfffffff9
jmp 0x1002d488
mov dword [ebp - 0x10], 0
jmp 0x1002d4b5
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1002d4d1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x90]
call fcn.10016d1d
mov dword [eax], 1
jmp 0x1002d4ae
mov dword [ebp - 0x28], 2
jmp 0x1002d4e1
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1002d517
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x2c], 2
jmp 0x1002d4fe
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1002d515
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0x9c], 0
je 0x1002d513
jmp 0x1002d515
jmp 0x1002d4f7
jmp 0x1002d4da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.10016d18
jmp 0x1002d542
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x1002d8db
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0x80000000
je 0x1002d6ba
mov dword [ebp - 0x20], 0x9e57ad95
mov dword [ebp - 0x34], 0
jmp 0x1002d579
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x1002d58c
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x70], 0xc204e2db
jmp 0x1002d572
mov dword [ebp - 0x20], 0
jmp 0x1002d59c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x1002d683
push 1
lea ecx, [ebp - 0x58]
call fcn.10016cb0
mov dword [ebp - 4], 1
push 0xac9
push 0x250a
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x2dc2
push 0x671f
push 0
push 0x7cfb
call fcn.1002f026
add esp, 0x20
push 0
lea ecx, [ebp - 0x58]
call fcn.10016d1d
and dword [eax], 0
jmp 0x1002d60c
push 0
lea ecx, [ebp - 0x58]
call fcn.10016d1d
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x58]
call fcn.10016d1d
cmp dword [eax], 0
jg 0x1002d672
push 0
lea ecx, [ebp - 0x58]
call fcn.10016d1d
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x70], 0
je 0x1002d650
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1002d64e
push 0x4dd1
push 1
push 0x6821
call fcn.1002d042
add esp, 0xc
jmp 0x1002d670
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x1002d670
push 1
push 0x262a
push 0x2e5e
call fcn.1002d0ae
add esp, 0xc
jmp 0x1002d5f4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10016d18
jmp 0x1002d595
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0xffff
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0xc228
push 0x9b58
call fcn.1002491e
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x1002d741
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x30], 0xa61928c1
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1002d6f0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
mov dword [ebp - 0x30], 0xfffffff0
jmp 0x1002d700
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x19
jle 0x1002d71c
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x1002d71a
push 0
call fcn.1002dc57
pop ecx
jmp 0x1002d6f9
mov eax, dword [ebp - 0x74]
inc eax
inc eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0xc228
push 0x9b58
call fcn.1002491e
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x1002d8d6
mov dword [ebp - 0x14], 0x2e91a049
mov dword [ebp - 0x4c], 0xe713e19f
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1002d778
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], 0
jmp 0x1002d788
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffec
jg 0x1002d865
push 3
lea ecx, [ebp - 0x80]
call fcn.10016cb0
mov dword [ebp - 4], 2
mov dword [ebp - 0x44], 0x4eea2a3b
mov dword [ebp - 0x40], 0x53d42374
mov dword [ebp - 0x38], 0
jmp 0x1002d7c1
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x1002d7da
push dword [ebp - 0x38]
lea ecx, [ebp - 0x80]
call fcn.10016d1d
mov dword [eax], 0x768c0aa3
jmp 0x1002d7ba
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
push 1
lea ecx, [ebp - 0x80]
call fcn.10016d1d
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
cmp dword [ebp - 0x48], 0
je 0x1002d80d
lea eax, [ebp - 0x44]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1002d160
add esp, 0x10
jmp 0x1002d854
mov dword [ebp - 0x68], 0x54c97515
lea eax, [ebp - 0x44]
push eax
push 1
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x159
push 0x2730
call fcn.1002d1d4
add esp, 0x24
cmp dword [ebp - 0x4c], 0
je 0x1002d854
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.10016d18
jmp 0x1002d865
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.10016d18
jmp 0x1002d781
mov eax, dword [ebp + 0x18]
and dword [eax], 0
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
push eax
push 0x3790
call fcn.1002d2e4
add esp, 0x14
mov dword [ebp - 0x24], 0
jmp 0x1002d8ab
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x38
jl 0x1002d8d4
mov dword [ebp - 0x60], 0xd0c11e04
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1002d8cc
push 1
call fcn.1002d40f
pop ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x60], eax
jmp 0x1002d8a4
jmp 0x1002d8db
jmp 0x1002d528
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret