Function at 0x100455de
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ec93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004560e
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x100457fe
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xfffffffc
jmp 0x1004563c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x1b
jne 0x100457fe
push 2
lea ecx, [ebp - 0x60]
call fcn.10017fd3
and dword [ebp - 4], 0
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x14], 0
jmp 0x1004566d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10045686
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
call fcn.10018040
mov dword [eax], 0xfffffffb
jmp 0x10045666
mov dword [ebp - 0x14], 0
jmp 0x10045696
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x100456a9
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x18], 0
jmp 0x1004568f
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0xfffffff7
jne 0x100457bc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
push 0
lea ecx, [ebp - 0x60]
call fcn.10018040
cmp dword [eax], 0xfffffffe
jl 0x100456d5
mov dword [ebp - 0x1c], 1
jmp 0x100456d9
and dword [ebp - 0x1c], 0
push 1
lea ecx, [ebp - 0x60]
call fcn.10018040
mov eax, dword [eax]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jle 0x100456f9
mov dword [ebp - 0x20], 1
jmp 0x100456fd
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax]
cmp ecx, 0xffffffff
jne 0x10045713
mov dword [ebp - 0x24], 1
jmp 0x10045717
and dword [ebp - 0x24], 0
push 0
lea ecx, [ebp - 0x60]
call fcn.10018040
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jle 0x10045740
push 0
lea ecx, [ebp - 0x60]
call fcn.10018040
cmp dword [eax], 0
je 0x10045740
mov dword [ebp - 0x28], 1
jmp 0x10045744
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jle 0x10045757
mov dword [ebp - 0x2c], 1
jmp 0x1004575b
and dword [ebp - 0x2c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
cmp dword [ebp - 0x2c], eax
je 0x10045773
mov dword [ebp - 0x30], 1
jmp 0x10045777
and dword [ebp - 0x30], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
cmp dword [ebp - 0x30], eax
jne 0x1004578f
mov dword [ebp - 0x34], 1
jmp 0x10045793
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jge 0x100457a6
mov dword [ebp - 0x38], 1
jmp 0x100457aa
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x100457bc
and dword [ebp - 0x40], 0
jmp 0x100457c3
mov dword [ebp - 0x40], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
imul eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jge 0x100457e1
mov dword [ebp - 0x44], 1
jmp 0x100457e5
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.1001803b
jmp 0x10045631
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret