Function at 0x4674d0
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 0x57bf88
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x5f6ea4]
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.00537055
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 0x467568
xor al, al
jmp 0x4677c9
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.00484700
add esp, 4
cmp edi, dword [ebp - 0x4c]
jg 0x4675df
jl 0x467595
cmp esi, dword [ebp - 0x50]
jae 0x4675df
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 0x4675df
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4675df
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0xb8]
push eax
call fcn.00484740
add esp, 0xc
add esi, dword [ebp - 0x44]
adc edi, 0
cmp edi, dword [ebp - 0x4c]
jl 0x467595
jg 0x4675df
cmp esi, dword [ebp - 0x50]
jb 0x467595
push 4
push dword [ebp - 0x28]
call fcn.00536da7
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004845e0
add esp, 0x10
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 0x20
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00456400
xor esi, esi
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 0x467656
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 0x46766f
push dword [ebp - 0x28]
mov byte [ebp - 0xbc], 0
push dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0044d000
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 0x4676a4
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 0x4676bd
push dword [ebp - 0x54]
mov byte [ebp - 0xc4], 0
push dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0044d000
inc esi
cmp esi, 0x10
jb 0x467621
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.0044cd20
push dword [ebp - 0xcc]
lea ecx, [ebp - 0xe4]
push dword [ebp - 0xc4]
push edi
call fcn.0044ce10
mov esi, dword [ebp - 0xcc]
lea eax, [ebp - 0xe4]
cmp esi, eax
je 0x46775b
mov ecx, esi
call fcn.00449930
movups xmm0, xmmword [ebp - 0xe4]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xd4]
movq qword [esi + 0x10], xmm0
jmp 0x467797
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x467797
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46778d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4677e7
push edx
push ecx
call fcn.00536da7
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4677c7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4677bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4677ec
push edx
push ecx
call fcn.00536da7
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.00536b66
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552841
call fcn.00552841
int3