Function at 0x47a600
Capabilities:
Get file size
Hash data using sha256
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 0x660ee6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x158
mov eax, dword [0x7000a8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp dword [edx + 0x10], 0
mov byte [ebp - 0x138], 0
je 0x47aeac
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x58]
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], 0
call fcn.0045e2b0
add esp, 4
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
push 0x10
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.004b75ce
xorps xmm0, xmm0
mov dword [ebp - 0x4c], eax
add esp, 4
lea ecx, [eax + 0x10]
mov dword [ebp - 0x44], ecx
movups xmmword [eax], xmm0
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
mov edx, 4
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
call fcn.00476030
push 1
mov byte [ebp - 4], 4
lea edi, [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
sub ecx, edx
push edi
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0047a410
add esp, 0x10
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x154]
test ecx, ecx
je 0x47a773
mov edx, dword [ebp - 0x14c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x47a74b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47aecc
push edx
push ecx
call fcn.004b75c0
add esp, 8
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov ecx, dword [ebp - 0x28]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
movups xmmword [ebp - 0x16c], xmm0
cmp ecx, edx
jne 0x47a7ae
mov dword [ebp - 0x158], 0xf
mov byte [ebp - 0x16c], 0
jmp 0x47a7c0
mov eax, edx
sub eax, ecx
push eax
push edx
push ecx
lea ecx, [ebp - 0x16c]
call fcn.00476670
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0044bdc0
mov ecx, dword [ebp - 0x158]
cmp ecx, 0x10
jb 0x47a809
mov edx, dword [ebp - 0x16c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47a7ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47aed1
push ecx
push edx
call fcn.004b75c0
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x47a856
mov edx, dword [ebp - 0x20]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x47a837
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47aed1
push edx
push ecx
call fcn.004b75c0
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x47a88e
mov edx, dword [ebp - 0x44]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x47a884
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47aed1
push edx
push ecx
call fcn.004b75c0
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x47a8c6
mov edx, dword [ebp - 0x50]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x47a8bc
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47aed1
push edx
push ecx
call fcn.004b75c0
add esp, 8
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x47a8d5
mov esi, dword [esi]
push 0
push 0
push 3
push 0
push 1
push accept
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 0x134], ecx
cmp ecx, 0xffffffff
jne 0x47a935
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x47aeac
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47a926
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47aed6
push ecx
push edx
call fcn.004b75c0
add esp, 8
jmp 0x47aeac
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
xor esi, esi
movq qword [ebp - 0x28], xmm0
xor eax, eax
mov dword [ebp - 0x140], esi
xor edi, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x20], eax
push eax
mov byte [ebp - 4], 8
push ecx
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x13c], eax
test eax, eax
je 0x47a99d
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00455470
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x140], esi
push 0
lea ecx, [ebp - 0x5c]
push ecx
push eax
push esi
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub edi, esi
mov dword [ebp - 0x108], 0
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x130], 0x6a09e667
push esi
lea ecx, [ebp - 0x130]
movlpd qword [ebp - 0x110], xmm0
mov dword [ebp - 0x12c], 0xbb67ae85
mov dword [ebp - 0x128], 0x3c6ef372
mov dword [ebp - 0x124], 0xa54ff53a
mov dword [ebp - 0x120], 0x510e527f
mov dword [ebp - 0x11c], 0x9b05688c
mov dword [ebp - 0x118], 0x1f83d9ab
mov dword [ebp - 0x114], 0x5be0cd19
call fcn.00474e50
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x130]
call fcn.00475040
mov byte [ebp - 4], 9
lea esi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
mov edi, dword [ebp - 0x30]
cmovae esi, dword [ebp - 0x40]
test edi, edi
je 0x47aa6f
push edi
push 0x7c
push esi
call fcn.004b9dd0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x47aa6f
sub ecx, esi
jmp 0x47aa72
or ecx, 0xffffffff
cmp edi, ecx
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x78], 0
cmovb ecx, edi
xorps xmm0, xmm0
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x8c]
push eax
movups xmmword [ebp - 0x8c], xmm0
call fcn.0044ddc0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
mov edx, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
or edi, 0xffffffff
test edx, edx
je 0x47aadf
lea eax, [edx - 1]
mov esi, edi
cmp eax, edi
cmovb esi, eax
add esi, ecx
cmp byte [esi], 0x7c
je 0x47aadb
cmp esi, ecx
je 0x47aadf
dec esi
cmp byte [esi], 0x7c
jne 0x47aad1
sub esi, ecx
jmp 0x47aae2
or esi, 0xffffffff
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x134], eax
test edx, edx
je 0x47ab0f
push edx
push 0x7c
push eax
call fcn.004b9dd0
add esp, 0xc
test eax, eax
je 0x47ab0f
sub eax, dword [ebp - 0x134]
jmp 0x47ab12
or eax, 0xffffffff
sub esi, eax
lea eax, [ebp - 0x40]
dec esi
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x148], esi
cmovae eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x134], eax
test esi, esi
je 0x47ab4b
push esi
push 0x7c
push eax
call fcn.004b9dd0
add esp, 0xc
test eax, eax
je 0x47ab4b
sub eax, dword [ebp - 0x134]
jmp 0x47ab4e
or eax, 0xffffffff
lea ecx, [eax + 1]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x74], xmm0
cmp esi, ecx
jb 0x47aedb
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 0x40]
sub esi, ecx
cmp esi, edx
cmovb edx, esi
cmp dword [ebp - 0x2c], 0x10
push edx
cmovae eax, dword [ebp - 0x40]
add eax, ecx
lea ecx, [ebp - 0x74]
push eax
call fcn.0044ddc0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x2c]
cmp esi, 0x10
mov edx, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
test edx, edx
je 0x47abce
lea eax, [edx - 1]
cmp eax, 0xffffffff
cmovb edi, eax
add edi, ecx
cmp byte [edi], 0x7c
je 0x47abca
nop word [eax + eax]
cmp edi, ecx
je 0x47abce
dec edi
cmp byte [edi], 0x7c
jne 0x47abc0
sub edi, ecx
jmp 0x47abd1
or edi, 0xffffffff
inc edi
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa4], xmm0
cmp edx, edi
jb 0x47aedb
mov eax, edx
lea ecx, [ebp - 0xa4]
sub eax, edi
cmp eax, edx
cmovb edx, eax
cmp esi, 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push edx
add eax, edi
push eax
call fcn.0044ddc0
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.004c8036
add esp, 4
cmp eax, dword [ebp - 0x13c]
jne 0x47ad1e
push 0
call fcn.004c8f01
add esp, 4
lea ecx, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
mov edi, eax
mov esi, edx
cmovae ecx, dword [ebp - 0x74]
push ecx
call fcn.004c8036
cdq
add esp, 4
sub edi, eax
sbb esi, edx
test esi, esi
jg 0x47ad1e
jl 0x47ac7a
cmp edi, 0x1e
ja 0x47ad1e
cmp dword [ebp - 0xa8], 0x10
lea ecx, [ebp - 0xbc]
mov edi, dword [ebp - 0xa4]
lea edx, [ebp - 0xa4]
cmovae ecx, dword [ebp - 0xbc]
cmp dword [ebp - 0x90], 0x10
mov esi, dword [ebp - 0x94]
cmovae edx, edi
cmp esi, dword [ebp - 0xac]
jne 0x47ad24
sub esi, 4
jb 0x47acc8
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x47accd
add edx, 4
add ecx, 4
sub esi, 4
jae 0x47acb7
cmp esi, 0xfffffffc
je 0x47ad01
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x47acfa
cmp esi, 0xfffffffd
je 0x47ad01
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x47acfa
cmp esi, 0xfffffffe
je 0x47ad01
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x47acfa
cmp esi, 0xffffffff
je 0x47ad01
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x47ad01
sbb eax, eax
or eax, 1
jmp 0x47ad03
xor eax, eax
mov ecx, dword [ebp - 0x138]
test eax, eax
movzx ecx, cl
mov edx, 1
cmove ecx, edx
mov dword [ebp - 0x138], ecx
jmp 0x47ad24
mov edi, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x90]
mov esi, dword [ebp - 0xbc]
cmp ecx, 0x10
jb 0x47ad5e
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x47ad54
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47aed6
push ecx
push edi
call fcn.004b75c0
add esp, 8
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x47ad92
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47ad88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47aed6
push ecx
push edx
call fcn.004b75c0
add esp, 8
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0x10
jb 0x47addb
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47add1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47aed6
push ecx
push edx
call fcn.004b75c0
add esp, 8
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp eax, 0x10
jb 0x47ae26
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x47ae1c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47aed6
push ecx
push esi
call fcn.004b75c0
add esp, 8
mov ecx, dword [ebp - 0x140]
test ecx, ecx
je 0x47ae60
mov edx, dword [ebp - 0x144]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x47ae56
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47aed6
push edx
push ecx
call fcn.004b75c0
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x47ae90
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47ae86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47aed6
push ecx
push edx
call fcn.004b75c0
add esp, 8
mov al, byte [ebp - 0x138]
jmp 0x47aeae
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b75b2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004bccbf
call fcn.004bccbf
call fcn.004bccbf
call fcn.0044d960
int3