Function at 0x45d450
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570328
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x5e8ea4]
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.0052cd75
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 0x45d4d4
xor al, al
jmp 0x45d738
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.0047a470
add esp, 4
cmp edi, dword [ebp - 0x44]
jg 0x45d54b
jl 0x45d501
cmp esi, dword [ebp - 0x48]
jae 0x45d54b
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 0x45d54b
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x45d54b
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xa8]
push eax
call fcn.0047a4b0
add esp, 0xc
add esi, dword [ebp - 0x40]
adc edi, 0
cmp edi, dword [ebp - 0x44]
jl 0x45d501
jg 0x45d54b
cmp esi, dword [ebp - 0x48]
jb 0x45d501
push 4
push dword [ebp - 0x24]
call fcn.0052cac7
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0047a350
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.00453190
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 0x45d5c5
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 0x45d5de
push dword [ebp - 0x24]
mov byte [ebp - 0xac], 0
push dword [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0044bf80
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 0x45d613
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 0x45d62c
push dword [ebp - 0x4c]
mov byte [ebp - 0xb0], 0
push dword [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0044bf80
inc esi
cmp esi, 0x10
jb 0x45d590
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.0044bc00
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xd0]
push dword [ebp - 0xb0]
push edi
call fcn.0044bd90
mov esi, dword [ebp - 0xb8]
lea eax, [ebp - 0xd0]
cmp esi, eax
je 0x45d6ca
mov ecx, esi
call fcn.00449470
movups xmm0, xmmword [ebp - 0xd0]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xc0]
movq qword [esi + 0x10], xmm0
jmp 0x45d706
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x45d706
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d6fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d753
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x45d736
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45d72c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d758
push edx
push ecx
call fcn.0052cac7
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.0052c886
mov esp, ebp
pop ebp
ret
call fcn.00548571
call fcn.00548571
int3