Function at 0x454e40
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559e08
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x5c9ea4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xbc], ecx
push 0x400000
call fcn.005186df
add esp, 4
mov dword [ebp - 0x28], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x50]
movq qword [ebp - 0xc8], xmm0
mov edi, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xc8]
push 2
push eax
push edi
push esi
push dword [ebp - 0xbc]
movq qword [ebp - 0x50], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x454ee4
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x455158
push 0
push 0
push edi
push esi
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea eax, [ebp - 0xb8]
push eax
call fcn.00466320
add esp, 4
cmp edi, dword [ebp - 0x4c]
jg 0x454f5b
jl 0x454f11
cmp esi, dword [ebp - 0x50]
jae 0x454f5b
push 0
lea eax, [ebp - 0x44]
push eax
push 0x100000
push dword [ebp - 0x28]
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x454f5b
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x454f5b
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0xb8]
push eax
call fcn.00466360
add esp, 0xc
add esi, dword [ebp - 0x44]
adc edi, 0
cmp edi, dword [ebp - 0x4c]
jl 0x454f11
jg 0x454f5b
cmp esi, dword [ebp - 0x50]
jb 0x454f11
push 4
push dword [ebp - 0x28]
call fcn.00518414
add esp, 8
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00466200
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004534f0
xor esi, esi
nop word [eax + eax]
movzx eax, byte [ebp + esi - 0x24]
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
shr eax, 4
mov dl, byte [eax + str.0123456789ABCDEF]
mov byte [ebp - 0x28], dl
cmp ecx, edi
jae 0x454fe5
lea eax, [ecx + 1]
cmp edi, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x454ffe
push dword [ebp - 0x28]
mov byte [ebp - 0xbc], 0
push dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0044b8f0
movzx eax, byte [ebp + esi - 0x24]
mov ecx, dword [ebp - 0x30]
and eax, 0xf
mov edi, dword [ebp - 0x2c]
mov dl, byte [eax + str.0123456789ABCDEF]
mov byte [ebp - 0x54], dl
cmp ecx, edi
jae 0x455033
lea eax, [ecx + 1]
cmp edi, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x45504c
push dword [ebp - 0x54]
mov byte [ebp - 0xc4], 0
push dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0044b8f0
inc esi
cmp esi, 0x10
jb 0x454fb0
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
lea edi, [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
add eax, edx
mov dword [ebp - 0xd4], 0
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0xc4], eax
cmovae edi, dword [ebp - 0x40]
xor ecx, ecx
sub eax, edi
mov word [ebp - 0xe4], cx
push eax
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xd0], 7
call fcn.0044b420
push dword [ebp - 0xcc]
lea ecx, [ebp - 0xe4]
push dword [ebp - 0xc4]
push edi
call fcn.0044b700
mov esi, dword [ebp - 0xcc]
lea eax, [ebp - 0xe4]
cmp esi, eax
je 0x4550ea
mov ecx, esi
call fcn.00448e40
movups xmm0, xmmword [ebp - 0xe4]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xd4]
movq qword [esi + 0x10], xmm0
jmp 0x455126
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x455126
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45511c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455176
push edx
push ecx
call fcn.00518414
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x455156
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45514c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45517b
push edx
push ecx
call fcn.00518414
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 - 0x14]
xor ecx, ebp
call fcn.005181d3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00533a91
call fcn.00533a91
int3