Function at 0x1003a24b
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084a71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d8
push esi
mov dword [ebp - 0x38], 0x9dada439
mov dword [ebp - 0x50], 0
jmp 0x1003a281
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x1003a297
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x1c8], 0
jmp 0x1003a27a
mov dword [ebp - 0x38], 0
jmp 0x1003a2a7
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jg 0x1003a2d7
mov eax, dword [ebp - 0x38]
cmp dword [ebp + eax*4 - 0x1c8], 0
je 0x1003a2bc
jmp 0x1003a2d7
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1003a2d5
push 0x10d9
push 0
call dword [sym.imp.USER32.dll_CharUpperBuffW]
jmp 0x1003a2a0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003a6c6
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x20], 0x2e0cf572
push 3
lea ecx, [ebp - 0x120]
call fcn.10025495
and dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x94], 0xfffffff8
mov dword [ebp - 0x4c], 0
jmp 0x1003a325
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x1003a341
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x120]
call fcn.10025506
mov dword [eax], 0x2bb11acc
jmp 0x1003a31e
cmp dword [ebp - 0x20], 0
je 0x1003a364
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1003a35f
push 7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x1003a51a
mov dword [ebp - 0x20], 0
jmp 0x1003a374
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 8
je 0x1003a51a
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x150], 0x1de9829c
mov dword [ebp - 0x2c], 0
jmp 0x1003a39f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jg 0x1003a515
mov dword [ebp - 0x130], 0x153413f0
push 1
lea ecx, [ebp - 0x120]
call fcn.10025506
cmp dword [ebp - 0x2c], 0
je 0x1003a3db
mov eax, 0x79cc
test eax, eax
je 0x1003a3db
mov dword [ebp - 0x8c], 1
jmp 0x1003a3e2
and dword [ebp - 0x8c], 0
imul esi, dword [ebp - 0x8c], 0xa00d
push 0
lea ecx, [ebp - 0x120]
call fcn.10025506
cmp esi, dword [eax]
jne 0x1003a409
mov dword [ebp - 0x98], 1
jmp 0x1003a410
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0x52487223
jge 0x1003a42b
cmp dword [ebp - 0x2c], 0
jne 0x1003a42b
and dword [ebp - 0xf4], 0
jmp 0x1003a435
mov dword [ebp - 0xf4], 1
mov eax, dword [ebp - 0x130]
cmp dword [ebp - 0xf4], eax
jne 0x1003a44c
mov dword [ebp - 0x78], 1
jmp 0x1003a450
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x78]
jge 0x1003a464
mov dword [ebp - 0xfc], 1
jmp 0x1003a46b
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0xffff
ja 0x1003a480
mov dword [ebp - 0x80], 1
jmp 0x1003a484
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x80], eax
je 0x1003a498
mov dword [ebp - 0x104], 1
jmp 0x1003a49f
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0xffff
jne 0x1003a4b7
mov dword [ebp - 0x88], 1
jmp 0x1003a4be
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x150]
cmp dword [ebp - 0x88], eax
jge 0x1003a4d8
mov dword [ebp - 0x10c], 1
jmp 0x1003a4df
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0x1b07
jge 0x1003a4f7
mov dword [ebp - 0x114], 1
jmp 0x1003a4fe
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x94], eax
jmp 0x1003a398
jmp 0x1003a36d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x184], eax
push 2
lea ecx, [ebp - 0x120]
call fcn.10025506
cmp dword [ebp - 0x20], 0xbe734e2e
jne 0x1003a54e
mov dword [ebp - 0x90], 1
jmp 0x1003a555
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
add eax, 0x61949f0d
cmp dword [ebp - 0x94], eax
jne 0x1003a574
mov dword [ebp - 0xd8], 1
jmp 0x1003a57b
and dword [ebp - 0xd8], 0
push 1
lea ecx, [ebp - 0x120]
call fcn.10025506
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd8]
jl 0x1003a59e
mov dword [ebp - 0xa0], 1
jmp 0x1003a5a5
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xa0]
je 0x1003a5bc
mov dword [ebp - 0xf8], 1
jmp 0x1003a5c3
and dword [ebp - 0xf8], 0
push 2
lea ecx, [ebp - 0x120]
call fcn.10025506
mov ecx, dword [ebp - 0xf8]
cmp ecx, dword [eax]
jl 0x1003a5e6
mov dword [ebp - 0xa8], 1
jmp 0x1003a5ed
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.10025501
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x48], 0xb9f9b319
mov dword [ebp - 0x188], 0xf506e60b
push 3
lea ecx, [ebp - 0x1a8]
call fcn.10025495
mov dword [ebp - 4], 1
mov dword [ebp - 0x40], 0
jmp 0x1003a658
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1003a671
push dword [ebp - 0x40]
lea ecx, [ebp - 0x1a8]
call fcn.10025506
or dword [eax], 0xffffffff
jmp 0x1003a651
mov dword [ebp - 0x48], 0
jmp 0x1003a681
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xfffffffc
jne 0x1003a69b
mov dword [ebp - 0x60], 0x4d00693e
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
je 0x1003a699
jmp 0x1003a67a
jmp 0x1003a67a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
call fcn.10025501
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x68]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x68]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1003ae1b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x18], 0
jmp 0x1003a6df
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1003a6f5
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x12c], 0xe1757117
jmp 0x1003a6d8
mov dword [ebp - 0x18], 0
jmp 0x1003a705
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1003a71b
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xb4], 0xffffffff
jmp 0x1003a6fe
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x12c], 3
jmp 0x1003a749
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x12c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x12c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x12c], 9
jle 0x1003abd6
push 3
lea ecx, [ebp - 0x5c]
call fcn.10025495
mov dword [ebp - 4], 2
mov dword [ebp - 0x168], 0xffffffff
mov dword [ebp - 0x164], 0xffffffff
mov dword [ebp - 0x160], 0xffffffff
mov dword [ebp - 0x15c], 0xffffffff
mov dword [ebp - 0x64], 0x44871830
mov dword [ebp - 0x30], 7
push 3
lea ecx, [ebp - 0x17c]
call fcn.10025495
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0
jmp 0x1003a7c5
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1003a7db
push dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
call fcn.10025506
or dword [eax], 0xffffffff
jmp 0x1003a7be
mov dword [ebp - 0x10], 0
jmp 0x1003a7eb
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1003a807
push dword [ebp - 0x10]
lea ecx, [ebp - 0x17c]
call fcn.10025506
mov dword [eax], 1
jmp 0x1003a7e4
push 1
lea ecx, [ebp - 0x5c]
call fcn.10025506
and dword [eax], 0
jmp 0x1003a837
push 1
lea ecx, [ebp - 0x5c]
call fcn.10025506
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xe0]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x5c]
call fcn.10025506
cmp dword [eax], 0
jg 0x1003abb6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x24], 0xf3c88fed
cmp dword [ebp - 0x3c], 0
je 0x1003a8b4
push 1
lea ecx, [ebp - 0x5c]
call fcn.10025506
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x3c]
push 1
lea ecx, [ebp - 0x5c]
call fcn.10025506
push 1
lea ecx, [ebp - 0x5c]
call fcn.10025506
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x12c]
mov dword [ebp - 0x190], eax
push 1
lea ecx, [ebp - 0x5c]
call fcn.10025506
push 8
pop eax
test eax, eax
je 0x1003a8b4
mov dword [ebp - 0x13c], 1
jmp 0x1003a8bb
and dword [ebp - 0x13c], 0
xor eax, eax
cmp eax, 0x5616
je 0x1003a8d0
mov dword [ebp - 0xb0], 1
jmp 0x1003a8d7
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0x24]
je 0x1003a8f1
mov dword [ebp - 0x154], 1
jmp 0x1003a8f8
and dword [ebp - 0x154], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb4]
mov dword [ebp - 0x198], eax
push 1
lea ecx, [ebp - 0x5c]
call fcn.10025506
cmp dword [eax], 0xa4ab
jge 0x1003a929
mov dword [ebp - 0x108], 1
jmp 0x1003a930
and dword [ebp - 0x108], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x168]
cmp dword [ebp - 0x108], eax
jle 0x1003a951
mov dword [ebp - 0xb8], 1
jmp 0x1003a958
and dword [ebp - 0xb8], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x168]
cmp dword [ebp - 0xb8], eax
jle 0x1003a979
mov dword [ebp - 0xe8], 1
jmp 0x1003a980
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xe8], eax
jle 0x1003a997
mov dword [ebp - 0xc0], 1
jmp 0x1003a99e
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xc0], eax
jge 0x1003a9b5
mov dword [ebp - 0x100], 1
jmp 0x1003a9bc
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
neg eax
cmp eax, 1
jle 0x1003a9d5
mov dword [ebp - 0xc8], 1
jmp 0x1003a9dc
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0xd476
jne 0x1003a9f4
mov dword [ebp - 0xf0], 1
jmp 0x1003a9fb
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xf0], eax
jl 0x1003ab7a
mov dword [ebp - 0x144], 0x93911e74
mov dword [ebp - 0xac], 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x64], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x12c]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x64], 0x4f39
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x170], eax
push 1
lea ecx, [ebp - 0x17c]
call fcn.10025506
mov ecx, dword [ebp - 0x170]
mov dword [eax], ecx
mov eax, 0x4f7a
test eax, eax
jle 0x1003aa92
mov eax, 0xffbc9ee5
test eax, eax
jne 0x1003aa92
and dword [ebp - 0xd0], 0
jmp 0x1003aa9c
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xd0], eax
jle 0x1003aab3
mov dword [ebp - 0x110], 1
jmp 0x1003aaba
and dword [ebp - 0x110], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x168]
cmp dword [ebp - 0x110], eax
jg 0x1003aad8
mov dword [ebp - 0x6c], 1
jmp 0x1003aadc
and dword [ebp - 0x6c], 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.10025506
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [eax]
jl 0x1003aaf9
mov dword [ebp - 0x9c], 1
jmp 0x1003ab00
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0xad46d232
je 0x1003ab18
mov dword [ebp - 0xa4], 1
jmp 0x1003ab1f
and dword [ebp - 0xa4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x168]
imul eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], 2
jmp 0x1003ab52
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x1003ab78
push 1
lea ecx, [ebp - 0x5c]
call fcn.10025506
mov eax, dword [eax]
inc eax
push eax
lea ecx, [ebp - 0x17c]
call fcn.10025506
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
jmp 0x1003ab4b
jmp 0x1003abb1
mov dword [ebp - 0x14c], 1
push 1
lea ecx, [ebp - 0x5c]
call fcn.10025506
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14c]
mov dword [ebp + eax*4 - 0xb4], ecx
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x1003abb1
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1003a816
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x17c]
call fcn.10025501
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10025501
jmp 0x1003a72e
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x1c], 0x25b9b55b
mov dword [ebp - 0xbc], 0xffffffff
mov dword [ebp - 0xc4], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffe8
jmp 0x1003ac0d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 6
jle 0x1003ad5a
mov dword [ebp - 0xec], 1
mov dword [ebp - 0x44], 0x1ae9a07b
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1003ac3f
push 0xfb8
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
sub eax, 0x772698b
cmp eax, 6
jge 0x1003ac70
mov dword [ebp - 0xcc], 1
jmp 0x1003ac77
and dword [ebp - 0xcc], 0
mov eax, 0xb2b534de
sub eax, dword [ebp - 0xcc]
cmp eax, 0xda22
jg 0x1003ac95
mov dword [ebp - 0xd4], 1
jmp 0x1003ac9c
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xd4], eax
jne 0x1003acb3
mov dword [ebp - 0xdc], 1
jmp 0x1003acba
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xdc]
jg 0x1003acd1
mov dword [ebp - 0x138], 1
jmp 0x1003acd8
and dword [ebp - 0x138], 0
mov eax, 0x77cce45d
add eax, 0xc266d8ff
cmp eax, dword [ebp - 0x1c]
jl 0x1003acf6
cmp dword [ebp - 0x44], 0
jne 0x1003acf6
and dword [ebp - 0xe4], 0
jmp 0x1003ad00
mov dword [ebp - 0xe4], 1
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xe4], eax
jne 0x1003ad14
mov dword [ebp - 0x70], 1
jmp 0x1003ad18
and dword [ebp - 0x70], 0
mov dword [ebp - 0xec], 1
mov eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0x70]
jg 0x1003ad36
mov dword [ebp - 0x74], 1
jmp 0x1003ad3a
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x74], eax
jl 0x1003ad4b
mov dword [ebp - 0x7c], 1
jmp 0x1003ad4f
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x44], eax
jmp 0x1003ac06
mov eax, dword [ebp - 0x140]
movzx eax, byte [eax]
test eax, eax
je 0x1003ae1b
mov dword [ebp - 0x1b4], 0xb2c2
mov dword [ebp - 0x194], 0xda2282d5
mov dword [ebp - 0x1bc], 4
mov dword [ebp - 0x19c], 5
mov dword [ebp - 0x1b0], 0x2c5d177c
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x14], 0
jmp 0x1003adb7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1003adcd
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1e4], 0x2236432a
jmp 0x1003adb0
mov dword [ebp - 0x14], 0
jmp 0x1003addd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1003adf3
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1d4], 1
jmp 0x1003add6
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
push 0x157f
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_Polygon]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret