Function at 0x458e80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a164e
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x3c], esi
mov word [esi], cx
push str._namespace.txt
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x48], 1
call fcn.0042bbd0
add esp, 0xc
cmp dword [ebp - 0x24], 7
lea eax, [ebp - 0x38]
push 0
cmova eax, dword [ebp - 0x38]
push 0x80
push 3
push 0
push 7
push SysReAllocString
push eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
je 0x45905a
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
push 0x200
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.004759f4
push 0x200
push 0
push eax
lea esi, [eax + 0x200]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
call fcn.00477ac0
add esp, 0x10
mov dword [ebp - 0x18], esi
push 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
push 0x200
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45901e
mov esi, dword [ebp - 0x18]
mov edx, esi
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
mov edi, dword [ebp - 0x20]
cmp edi, edx
jae 0x458fc0
lea esi, [ecx + edi]
jmp 0x458ff3
jbe 0x458ff6
mov eax, dword [ebp - 0x14]
sub eax, ecx
cmp edi, eax
jbe 0x458fe0
lea eax, [ebp - 0x3d]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004184c0
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
jmp 0x458ff6
sub edi, edx
push edi
push 0
push esi
call fcn.00477ac0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add esi, edi
mov dword [ebp - 0x18], esi
sub esi, ecx
cmp esi, 2
jbe 0x45901e
cmp byte [ecx], 0xff
jne 0x45901e
cmp byte [ecx + 1], 0xfe
jne 0x45901e
lea eax, [esi - 2]
mov esi, dword [ebp - 0x3c]
shr eax, 1
push eax
lea eax, [ecx + 2]
mov ecx, esi
push eax
call fcn.00437aa0
jmp 0x459021
mov esi, dword [ebp - 0x3c]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x45905a
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x459050
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4590af
push edx
push ecx
call fcn.004759b5
add esp, 8
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x459090
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x459086
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4590b4
push ecx
push edx
call fcn.004759b5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004759c3
mov esp, ebp
pop ebp
ret 8
call fcn.0047abff
call fcn.0047abff
int3