Function at 0x10044cd0
Capabilities:
Get file size
Hash data via bcrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c466
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x1009b128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.10059300
add esp, 0xc
lea eax, [ebp - 0x110]
push 0xff
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10044d30
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, 0x1009bc6c
call fcn.1000c950
lea eax, [ebp - 0x110]
sub esp, 8
mov edx, esp
mov ecx, eax
mov dword [edx], eax
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10044d60
sub ecx, esi
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x128]
call fcn.1000e420
add esp, 8
mov ecx, 0x1009bc54
push eax
call fcn.1000c000
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x10044dbf
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10044db5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004504a
push edx
push ecx
call fcn.10057549
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x150], esi
cmp esi, 0xffffffff
je 0x1004502f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x100b192c], eax
cmp eax, 0xffffffff
je 0x10045028
push ecx
inc eax
mov dword [ebp - 0x154], 0
push eax
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
call fcn.10048c80
push 0
lea eax, [ebp - 0x154]
mov dword [ebp - 4], 0
push eax
push dword [0x100b192c]
push dword [ebp - 0x16c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1004501d
push 0
push 0
push 0x1008f680
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
jne 0x1004501d
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x148]
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
jne 0x1004501d
cmp dword [ebp - 0x144], eax
je 0x1004501d
push 0x20
call fcn.10057514
mov edi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x160], edi
lea esi, [edi + 0x20]
movups xmmword [edi], xmm0
mov dword [ebp - 0x158], esi
movups xmmword [edi + 0x10], xmm0
mov dword [ebp - 0x15c], esi
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.10017c60
push 0
mov byte [ebp - 4], 2
push dword [0x100b192c]
push dword [ebp - 0x16c]
push dword [ebp - 0x144]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
push 0
push 0x20
push edi
push dword [ebp - 0x144]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
push dword [ebp - 0x144]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
push 0
push dword [ebp - 0x148]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov dword [ebp - 0x14c], edi
cmp edi, esi
je 0x10044fba
mov edi, esi
nop word [eax + eax]
mov eax, dword [ebp - 0x20c]
push 0
push 2
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x1cc], 0x30
lea eax, [ebp - 0x120]
push eax
call fcn.10055644
add esp, 0xc
lea ecx, [ebp - 0x20c]
mov edx, eax
call fcn.1002c820
mov esi, eax
mov eax, dword [ebp - 0x14c]
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + esi + 0x14], ecx
mov ecx, esi
movzx eax, byte [eax]
push eax
call fcn.100493c0
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x14c], eax
cmp eax, edi
jne 0x10044f40
mov edi, dword [ebp - 0x160]
mov esi, dword [ebp - 0x158]
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10017b80
push eax
mov ecx, 0x1009bc3c
call fcn.1000c000
lea ecx, [ebp - 0x140]
call fcn.1000bfb0
lea ecx, [ebp - 0x21c]
call fcn.100123f0
test edi, edi
je 0x10045017
sub esi, edi
cmp esi, 0x1000
jb 0x1004500d
mov ecx, dword [edi - 4]
add esi, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1004504a
mov edi, ecx
push esi
push edi
call fcn.10057549
add esp, 8
mov esi, dword [ebp - 0x150]
lea ecx, [ebp - 0x16c]
call fcn.10048c30
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.100572f8
mov esp, ebp
pop ebp
ret
call fcn.10062aff
int3