Function at 0x45fb60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573138
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x5ebea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xac], ecx
push 0x400000
call fcn.0052f884
add esp, 4
mov dword [ebp - 0x24], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x48]
movq qword [ebp - 0xb4], xmm0
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb4]
push 2
push eax
push edi
push esi
push dword [ebp - 0xac]
movq qword [ebp - 0x48], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x45fbe4
xor al, al
jmp 0x45fe48
push 0
push 0
push edi
push esi
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea eax, [ebp - 0xa8]
push eax
call fcn.0047cf80
add esp, 4
cmp edi, dword [ebp - 0x44]
jg 0x45fc5b
jl 0x45fc11
cmp esi, dword [ebp - 0x48]
jae 0x45fc5b
push 0
lea eax, [ebp - 0x40]
push eax
push 0x100000
push dword [ebp - 0x24]
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45fc5b
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x45fc5b
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xa8]
push eax
call fcn.0047cfc0
add esp, 0xc
add esi, dword [ebp - 0x40]
adc edi, 0
cmp edi, dword [ebp - 0x44]
jl 0x45fc11
jg 0x45fc5b
cmp esi, dword [ebp - 0x48]
jb 0x45fc11
push 4
push dword [ebp - 0x24]
call fcn.0052f5d6
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0047ce60
add esp, 0x10
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
push 0x20
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.004551c0
xor esi, esi
nop dword [eax]
movzx eax, byte [ebp + esi - 0x20]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
shr eax, 4
mov dl, byte [eax + str.0123456789ABCDEF]
mov byte [ebp - 0x24], dl
cmp ecx, edi
jae 0x45fcd5
lea eax, [ecx + 1]
cmp edi, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x45fcee
push dword [ebp - 0x24]
mov byte [ebp - 0xac], 0
push dword [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0044c000
movzx eax, byte [ebp + esi - 0x20]
mov ecx, dword [ebp - 0x2c]
and eax, 0xf
mov edi, dword [ebp - 0x28]
mov dl, byte [eax + str.0123456789ABCDEF]
mov byte [ebp - 0x4c], dl
cmp ecx, edi
jae 0x45fd23
lea eax, [ecx + 1]
cmp edi, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x45fd3c
push dword [ebp - 0x4c]
mov byte [ebp - 0xb0], 0
push dword [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0044c000
inc esi
cmp esi, 0x10
jb 0x45fca0
cmp dword [ebp - 0x28], 0x10
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
lea edi, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x3c]
add eax, edx
mov dword [ebp - 0xc0], 0
cmp dword [ebp - 0x28], 0x10
mov dword [ebp - 0xb0], eax
cmovae edi, dword [ebp - 0x3c]
xor ecx, ecx
sub eax, edi
mov word [ebp - 0xd0], cx
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xbc], 7
call fcn.0044bc80
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xd0]
push dword [ebp - 0xb0]
push edi
call fcn.0044be10
mov esi, dword [ebp - 0xb8]
lea eax, [ebp - 0xd0]
cmp esi, eax
je 0x45fdda
mov ecx, esi
call fcn.004494f0
movups xmm0, xmmword [ebp - 0xd0]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xc0]
movq qword [esi + 0x10], xmm0
jmp 0x45fe16
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x45fe16
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fe0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45fe63
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x45fe46
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45fe3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45fe68
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov al, 1
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.0052f395
mov esp, ebp
pop ebp
ret
call fcn.0054b071
call fcn.0054b071
int3