Function at 0x45f510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572888
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x5eaea4]
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.0052f0a6
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 0x45f594
xor al, al
jmp 0x45f7f8
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.0047c7b0
add esp, 4
cmp edi, dword [ebp - 0x44]
jg 0x45f60b
jl 0x45f5c1
cmp esi, dword [ebp - 0x48]
jae 0x45f60b
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 0x45f60b
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x45f60b
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xa8]
push eax
call fcn.0047c7f0
add esp, 0xc
add esi, dword [ebp - 0x40]
adc edi, 0
cmp edi, dword [ebp - 0x44]
jl 0x45f5c1
jg 0x45f60b
cmp esi, dword [ebp - 0x48]
jb 0x45f5c1
push 4
push dword [ebp - 0x24]
call fcn.0052edf8
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0047c690
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.00455160
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 0x45f685
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 0x45f69e
push dword [ebp - 0x24]
mov byte [ebp - 0xac], 0
push dword [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0044bfa0
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 0x45f6d3
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 0x45f6ec
push dword [ebp - 0x4c]
mov byte [ebp - 0xb0], 0
push dword [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0044bfa0
inc esi
cmp esi, 0x10
jb 0x45f650
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.0044bc20
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xd0]
push dword [ebp - 0xb0]
push edi
call fcn.0044bdb0
mov esi, dword [ebp - 0xb8]
lea eax, [ebp - 0xd0]
cmp esi, eax
je 0x45f78a
mov ecx, esi
call fcn.00449490
movups xmm0, xmmword [ebp - 0xd0]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xc0]
movq qword [esi + 0x10], xmm0
jmp 0x45f7c6
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x45f7c6
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f7bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f813
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x45f7f6
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f7ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f818
push edx
push ecx
call fcn.0052edf8
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.0052ebb7
mov esp, ebp
pop ebp
ret
call fcn.0054a8a1
call fcn.0054a8a1
int3