Function at 0x403b70
Capabilities:
Get file size
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4bb0b1
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4fcc8c]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcc8c]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14c]
mov esi, ecx
mov ebx, 8
mov dword [esp + 0x20], eax
mov byte [esp + 0x1b], 0
lea ebp, [esi + 4]
cmp dword [esi + 0x18], ebx
jb 0x403bcf
mov eax, dword [ebp]
jmp 0x403bd1
mov eax, ebp
push 0
push eax
call fcn.00491dcd
add esp, 8
test eax, eax
je 0x403c09
cmp dword [esi + 0x18], ebx
jb 0x403be8
mov ebp, dword [ebp]
push ebp
push str.file_doesnt_exist_____s
lea esi, [esp + 0x24]
mov dword [esp + 0x24], str.ALCMUpdator::IsSameCheckSumSHA
call fcn.004019a0
add esp, 8
xor al, al
jmp 0x403f38
cmp dword [esi + 0x18], ebx
jb 0x403c13
mov eax, dword [ebp]
jmp 0x403c15
mov eax, ebp
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, 0xffffffff
jne 0x403c62
cmp dword [esi + 0x18], ebx
jb 0x403c41
mov ebp, dword [ebp]
push ebp
push str.file_open_error_____s
lea esi, [esp + 0x24]
mov dword [esp + 0x24], str.ALCMUpdator::IsSameCheckSumSHA
call fcn.004019a0
add esp, 8
xor al, al
jmp 0x403f38
lea ecx, [esp + 0x3c]
push ecx
push edi
mov dword [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ebx, [ebp + 1]
push ebx
call fcn.00432007
add esp, 4
push ebx
mov esi, eax
xor ebx, ebx
push ebx
push esi
mov dword [esp + 0x3c], esi
call fcn.004982b0
add esp, 0xc
cmp esi, ebx
je 0x403f2d
push ebx
lea edx, [esp + 0x44]
push edx
push ebp
push esi
push edi
mov dword [esp + 0x54], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x403f24
mov edi, 7
xor eax, eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], ax
mov dword [esp + 0x144], ebx
mov dword [esp + 0x94], vtable.Sha256.0
lea eax, [esp + 0x94]
mov byte [esp + 0x144], 1
call fcn.0040f730
mov eax, esi
push ebp
lea esi, [esp + 0x98]
call fcn.0040fa50
call fcn.0040fa90
xor eax, eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
xor esi, esi
lea ecx, [ecx]
movzx ecx, byte [esp + esi + 0x104]
push ecx
push str._02x
lea edx, [esp + 0x12c]
push 8
push edx
call fcn.00491e56
lea eax, [esp + 0x134]
add esp, 0x10
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403d60
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x128]
lea ecx, [esp + 0x7c]
call fcn.004017a0
inc esi
cmp esi, 0x20
jl 0x403d30
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x64], ax
mov eax, dword [esp + 0x24]
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
call fcn.00401370
lea ebx, [esp + 0x34]
lea edi, [esp + 0x78]
mov byte [esp + 0x144], 2
call fcn.00407510
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [esp + 0x44]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call fcn.00407560
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
lea ebx, [esp + 0x4c]
mov dword [esp + 0x28], ecx
call fcn.00407510
mov esi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, ebp
sub ecx, esi
mov dword [esp + 0x28], edx
sar ecx, 1
mov dword [esp + 0x28], eax
push ecx
lea ebx, [esp + 0x24]
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edi
call fcn.0040d2f0
cmp esi, ebp
je 0x403e2c
sub edi, esi
movzx edx, word [esi]
push edx
call fcn.00491fd1
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebp
jne 0x403e15
lea ebx, [esp + 0x4c]
lea edi, [esp + 0x5c]
call fcn.00407510
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [esp + 0x44]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call fcn.00407560
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
lea ebx, [esp + 0x54]
mov dword [esp + 0x34], ecx
call fcn.00407510
mov esi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, ebp
sub ecx, esi
sar ecx, 1
mov dword [esp + 0x28], eax
push ecx
lea ebx, [esp + 0x38]
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], edi
call fcn.0040d2f0
cmp esi, ebp
je 0x403eab
sub edi, esi
movzx edx, word [esi]
push edx
call fcn.00491fd1
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebp
jne 0x403e94
mov eax, dword [esp + 0x60]
mov esi, 8
cmp dword [esp + 0x74], esi
jae 0x403ebe
lea eax, [esp + 0x60]
mov edi, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x7c]
call fcn.00408420
test eax, eax
jne 0x403edc
mov byte [esp + 0x1b], 1
cmp dword [esp + 0x74], esi
jb 0x403eef
mov eax, dword [esp + 0x60]
push eax
call fcn.004913b3
add esp, 4
xor ecx, ecx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], cx
cmp dword [esp + 0x90], esi
jb 0x403f1c
mov edx, dword [esp + 0x7c]
push edx
call fcn.004913b3
add esp, 4
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
push esi
call fcn.00491fe4
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004913be
add esp, 0x134
ret 4