Function at 0x100398ea
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100663d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100399aa
lea eax, [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x10039959
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
and dword [eax], 0
jmp 0x100399a5
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
jmp 0x10039984
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 1
jg 0x100399a5
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x100399a3
push 0xcbf
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x10039979
jmp 0x10039d3e
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x70], 0x1a79
cmp dword [ebp - 0x70], 0xe8b
jge 0x10039b00
lea ecx, [ebp - 0xe4]
call fcn.1000a34b
and dword [ebp - 4], 0
lea edx, [ebp - 0xe4]
mov ecx, 0x10658770
call fcn.1000dd72
and dword [ebp - 0x30], 0
and dword [ebp - 0x28], 0
and dword [ebp - 0x20], 0
mov byte [ebp - 0xd], 1
and dword [ebp - 0x1c], 0
jmp 0x10039a21
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xe4]
call fcn.1000abc8
cmp dword [ebp - 0x1c], eax
jae 0x10039aa6
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.1000c073
movsx eax, byte [eax]
cmp eax, 0x28
jne 0x10039a50
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10039a93
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.1000c073
movsx eax, byte [eax]
cmp eax, 0x29
jne 0x10039a6f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
jmp 0x10039a93
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.1000c073
movsx eax, byte [eax]
cmp eax, 0x23
jne 0x10039a93
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x20]
jge 0x10039aa1
mov byte [ebp - 0xd], 0
jmp 0x10039aa6
jmp 0x10039a1a
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10039ae6
and dword [ebp - 0x38], 0
jmp 0x10039abb
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
dec eax
cmp dword [ebp - 0x38], eax
jge 0x10039ad1
push 0x100085fc
call fcn.1004c236
pop ecx
jmp 0x10039ab4
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x20]
push eax
push 0x10008434
call fcn.1004c43c
pop ecx
pop ecx
jmp 0x10039af1
push 0x1000848c
call fcn.1004c236
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.1000a38b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x10039b38
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10039b33
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x10039d3e
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xe39f3faa
je 0x10039bca
mov dword [ebp - 0x2c], 1
jmp 0x10039bce
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
cmp dword [ebp - 0x2c], 0
jge 0x10039bf0
mov dword [ebp - 0x6c], 1
jmp 0x10039bf4
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x6c]
jge 0x10039c07
mov dword [ebp - 0x48], 1
jmp 0x10039c0b
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jle 0x10039c1e
mov dword [ebp - 0x68], 1
jmp 0x10039c22
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x68]
je 0x10039c3d
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0
je 0x10039c3d
mov dword [ebp - 0x60], 1
jmp 0x10039c41
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0xffffffff
jl 0x10039c50
mov dword [ebp - 0x34], 1
jmp 0x10039c54
and dword [ebp - 0x34], 0
push 1
mov ecx, dword [ebp - 0xb8]
call fcn.1000a8c0
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jge 0x10039c79
mov dword [ebp - 0x58], 1
jmp 0x10039c7d
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 9
jne 0x10039c8c
mov dword [ebp - 0x44], 1
jmp 0x10039c90
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0xe07e
jne 0x10039ca2
mov dword [ebp - 0x4c], 1
jmp 0x10039ca6
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xc5706b37
je 0x10039cb8
mov dword [ebp - 0x54], 1
jmp 0x10039cbc
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x54]
cmp eax, 0x30b91ee4
jle 0x10039cd4
mov dword [ebp - 0x3c], 1
jmp 0x10039cd8
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax]
jg 0x10039cfb
mov dword [ebp - 0x5c], 1
jmp 0x10039cff
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x5c], eax
jl 0x10039d12
mov dword [ebp - 0x64], 1
jmp 0x10039d16
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0x85299dad
jae 0x10039d28
mov dword [ebp - 0x40], 1
jmp 0x10039d2c
and dword [ebp - 0x40], 0
push 0
mov ecx, dword [ebp - 0xc8]
call fcn.1000a8c0
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret