Function at 0x458fd9
Capabilities:
Get file attributes

Disassembly:
push 0x14
mov eax, 0x5299d4
call fcn.004f1d7f
mov ebx, ecx
mov dword [ebp - 0x18], ebx
xor eax, eax
mov dword [ebp - 4], eax
call fcn.00437474
push eax
lea ecx, [ebp - 0x10]
call fcn.0043a4ef
mov byte [ebp - 4], 1
call fcn.00437474
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043a4ef
push ecx
mov byte [ebp - 4], 2
push ecx
mov ecx, dword [ebp + 8]
call fcn.0045d905
mov dword [ebx + 0x20c], eax
pop ecx
pop ecx
test eax, eax
jne 0x459033
mov esi, dword [ebp - 0x10]
mov edi, eax
jmp 0x4591f8
call fcn.00437474
push eax
lea ecx, [ebp - 0x14]
call fcn.0043a4ef
mov byte [ebp - 4], 3
mov edi, dword [ebp + 0xc]
push 0x5c
push dword [edi]
call fcn.004f4fbb
pop ecx
pop ecx
test eax, eax
je 0x45908b
sub eax, dword [edi]
sar eax, 1
cmp eax, 0xffffffff
je 0x45908b
inc eax
mov ecx, edi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00447979
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0043c2e8
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00436fdb
jmp 0x459094
push edi
lea ecx, [ebp - 0x14]
call fcn.0043c2e8
mov ebx, dword [0x5afaf0]
mov esi, dword [0x5afaec]
cmp esi, ebx
je 0x4590bb
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00436fdb
add esi, 4
cmp esi, ebx
jne 0x4590a4
mov esi, dword [0x5afaec]
mov dword [0x5afaf0], esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x4591c1
push edi
lea ecx, [ebp - 0x10]
call fcn.0043c2e8
mov esi, dword [ebp - 0x10]
cmp dword [esi - 4], 1
jle 0x4590f1
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.0043a8e3
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov ecx, esi
add ebx, 4
mov edx, ebx
mov dword [ebp + 0xc], ebx
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x459100
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0043c298
cmp dword [esi - 4], 1
jle 0x45912d
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.0043a8e3
mov esi, dword [ebp - 0x10]
xor eax, eax
mov ecx, esi
push eax
push 0x458c2e
call fcn.00458c85
mov edi, dword [0x5afaec]
pop ecx
pop ecx
mov ecx, dword [0x5afaf0]
mov eax, ecx
sub eax, edi
test eax, 0xfffffffc
je 0x4591bc
cmp edi, ecx
je 0x4591b7
lea ecx, [ebx + 2]
xor edx, edx
mov ax, word [ebx]
add ebx, 2
cmp ax, dx
jne 0x45915e
sub ebx, ecx
mov ecx, edi
sar ebx, 1
call fcn.00440fd2
add eax, 2
lea ebx, [eax + ebx*2]
push ebx
call fcn.0043a8c3
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x14]
call fcn.0043a84a
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push ecx
push ecx
push dword [edi]
mov ecx, dword [eax + 0x20c]
call fcn.0045da25
add esp, 0xc
test eax, eax
jne 0x4591e0
mov ebx, dword [ebp + 0xc]
add edi, 4
cmp edi, dword [0x5afaf0]
jne 0x459159
jmp 0x4591dc
mov eax, dword [ebp + 8]
jmp 0x4591dc
or edi, 0xffffffff
jmp 0x4591e9
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push ecx
push ecx
push dword [edi]
mov ecx, dword [eax + 0x20c]
call fcn.0045da25
mov esi, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x4591e6
xor eax, eax
mov edi, eax
jmp 0x4591e9
xor edi, edi
inc edi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00436fdb
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00436fdb
xor eax, eax
lea ecx, [esi - 0x10]
mov byte [ebp - 4], al
call fcn.00436fdb
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00436fdb
mov eax, edi
call fcn.004f1d4d
ret 8