Function at 0x43eb70
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x1024
call fcn.00467540
mov eax, dword [str.GetFileDigest__]
mov ecx, dword [0x4e62b8]
mov edx, dword [0x4e62bc]
push ebx
mov ebx, dword [esp + 0x102c]
mov dword [esp + 4], eax
mov eax, dword [0x4e62c0]
push ebp
push esi
push edi
test ebx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
je 0x43edbb
mov eax, dword [esp + 0x103c]
test eax, eax
je 0x43edbb
cmp dword [esp + 0x1040], 0x20
jbe 0x43edbb
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebx
mov byte [esp + 0x104f], 0
mov byte [esp + 0x50], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43ec46
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x4e6298
lea ecx, [esp + 0x40]
push 0xfff
push ecx
call fcn.00466ca7
mov eax, dword [0x4d25a4]
lea edx, [esp + 0x24]
push 0xfc4
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.0043c750
add esp, 0x24
mov eax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1024
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x43ec83
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x4e6278
lea edx, [esp + 0x40]
push 0xfff
push edx
call fcn.00466ca7
push 0xfcd
jmp 0x43ed0d
push ebp
call fcn.00467824
mov edi, eax
add esp, 4
test edi, edi
jne 0x43ecc8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4e1e88
lea eax, [esp + 0x38]
push 0xfff
push eax
call fcn.00466ca7
mov edx, dword [0x4d25a4]
lea ecx, [esp + 0x1c]
push 0xfd4
push ecx
lea eax, [esp + 0x48]
push edx
push eax
jmp 0x43ede4
lea ecx, [esp + 0x20]
push 0
push ecx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
jne 0x43ed36
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00463c78
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x4e625c
lea edx, [esp + 0x40]
push 0xfff
push edx
call fcn.00466ca7
push 0xfdd
mov ecx, dword [0x4d25a4]
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.0043c750
add esp, 0x24
mov eax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1024
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
push ecx
push edi
call fcn.004a9104
push edi
call fcn.00463c78
mov edi, dword [esp + 0x104c]
add esp, 0x10
xor esi, esi
mov edx, edi
xor ecx, ecx
mov cl, byte [esp + esi + 0x24]
mov eax, ecx
and al, 0xf0
cmp eax, 0xa0
mov eax, ecx
jl 0x43ed7b
shr eax, 4
add eax, 0x37
jmp 0x43ed81
shr eax, 4
add eax, 0x30
mov byte [edx], al
mov eax, ecx
and eax, 0x8000000f
jns 0x43ed91
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 0xa
jl 0x43ed9b
add eax, 0x37
jmp 0x43ed9e
add eax, 0x30
mov byte [edx + 1], al
inc esi
add edx, 2
cmp esi, 0x10
jl 0x43ed60
mov byte [edi + 0x20], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1024
ret
push 0x4e624c
lea ecx, [esp + 0x38]
push 0xfff
push ecx
call fcn.00466ca7
mov eax, dword [0x4d25a4]
lea edx, [esp + 0x1c]
push 0xfb8
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.0043c750
add esp, 0x1c
mov eax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1024
ret