Function at 0x431930
Capabilities:
Get file size
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x49afa0]
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xc]
xor esi, esi
cmp eax, esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], esi
jne 0x431971
xor edi, edi
mov dword [ebp - 0x44], edi
jmp 0x43198c
mov ecx, dword [ebx + 0x10]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x44], eax
mov edi, eax
push esi
push 0x47bd2c
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
call fcn.004083b0
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x50]
push eax
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x54], eax
jne 0x4319d2
call fcn.004013c0
cmp eax, esi
jl 0x431ae8
mov eax, dword [ebp - 0x54]
push 0x100000
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x4c], 0x100000
call fcn.00468d05
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x40], esi
cmp esi, edi
jge 0x431be0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x431a08
mov edx, dword [ecx]
push edi
push esi
call dword [edx]
mov eax, dword [ebx + 0xc]
lea ecx, [esi + esi*8]
lea ebx, [eax + ecx*8]
push 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebx + 0x24]
mov edi, dword [ebx + 0x2c]
lea edx, [ebp - 0x60]
push edx
push eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 4]
push ecx
mov dword [ebp - 0x58], ebx
or esi, 0xffffffff
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x60], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x431a50
call fcn.004013c0
nop
test edi, edi
je 0x431aed
cmp edi, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], edi
lea eax, [ebp - 0x5c]
jb 0x431a66
lea eax, [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
push 0
lea edx, [ebp - 0x48]
push edx
mov edx, dword [ecx + 4]
push eax
mov eax, dword [ebp - 0x34]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x431a8d
call fcn.004013c0
test eax, eax
jl 0x431ae8
mov edi, dword [ebp - 0x48]
test edi, edi
jne 0x431aab
mov eax, dword [ebp - 0x34]
push eax
call fcn.00468d00
mov eax, dword [ebp - 0x18]
add esp, 4
cmp eax, 0x10
jmp 0x431ba3
mov ecx, dword [ebp - 0x34]
mov edx, edi
mov eax, esi
mov esi, edx
dec edx
test esi, esi
je 0x431ad7
xor ebx, ebx
mov bl, byte [ecx]
xor ebx, eax
and ebx, 0xff
mov esi, dword [ebx*4 + 0x498bf8]
mov ebx, dword [ebp - 0x58]
shr eax, 8
xor eax, esi
inc ecx
jmp 0x431ab2
mov esi, eax
mov eax, dword [ebp - 0x3c]
sub eax, edi
mov dword [ebp - 0x3c], eax
mov edi, eax
jmp 0x431a50
call fcn.004315d0
mov edx, dword [ebp - 0x38]
cmp dword [ebx], edx
not esi
jne 0x431bbf
cmp esi, dword [ebx + 0x34]
jne 0x431bbf
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
lea esi, [ebx + 4]
mov edi, 0x10
cmp eax, edi
jb 0x431b1a
mov eax, dword [esi + 4]
jmp 0x431b1d
lea eax, [esi + 4]
push ecx
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp - 0x30]
call fcn.0042f190
test eax, eax
jl 0x431b6d
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00468d00
mov eax, dword [ebp - 0x18]
add esp, 4
cmp eax, edi
jb 0x431b50
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00468d00
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004497f7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x30]
call fcn.004082c0
mov eax, dword [ebx + 0x2c]
mov esi, dword [ebx + 0x24]
mov edx, dword [ebp - 0x50]
xor ecx, ecx
add eax, esi
cmp edx, ecx
ja 0x431bab
jb 0x431b92
cmp dword [ebp - 0x6c], eax
jae 0x431bab
mov eax, dword [ebp - 0x34]
push eax
call fcn.00468d00
mov eax, dword [ebp - 0x18]
add esp, 4
cmp eax, edi
jb 0x431b50
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x431b48
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x40], eax
mov esi, eax
jmp 0x4319f3
mov edx, dword [ebp - 0x34]
push edx
call fcn.00468d00
mov eax, dword [ebp - 0x18]
add esp, 4
cmp eax, 0x10
jb 0x431b50
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x431b48
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00468d00
mov eax, dword [ebp - 0x18]
add esp, 4
cmp eax, 0x10
jb 0x431c00
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00468d00
add esp, 4
mov al, 1
jmp 0x431b52