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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xa9abb1
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x868], eax
push ebx
push esi
push edi
mov eax, dword [0xb196ec]
xor eax, esp
push eax
lea eax, [esp + 0x880]
mov dword fs:[0], eax
xor esi, esi
push 0x13c
lea eax, [esp + 0x33c]
push esi
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x340], esi
call fcn.00a7ffb0
add esp, 0xc
push 0x8000000
push 3
push 3
push 0x80000000
mov edi, str.C:PROGRA2eScanCLCACHE.DAT
call fcn.0094db00
mov edi, eax
add esp, 0x10
mov dword [esp + 0x20], edi
cmp edi, esi
je 0x9d8961
cmp edi, 0xffffffff
jne 0x9d8968
xor eax, eax
jmp 0x9d8cf7
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [esp + 0x24]
push edx
push edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
cmp eax, 4
jne 0x9d8c9c
jmp 0x9d89a4
mov esi, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x18]
cmp eax, 0x400
jae 0x9d8c9c
push 0
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x480]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
cmp eax, ebx
jne 0x9d8c9c
add esi, eax
mov dword [esp + 0x1c], esi
push ebx
lea esi, [esp + 0x478]
call fcn.00978150
cmp byte [esp + ebx + 0x473], 0
jne 0x9d8c9c
push 0
lea eax, [esp + 0x18]
push eax
mov esi, 0x140
push esi
lea ecx, [esp + 0x340]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x14], esi
jne 0x9d8c9c
add dword [esp + 0x1c], esi
lea eax, [esp + 0x474]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x9d8a46
sub eax, edx
push eax
lea edx, [esp + 0x478]
push edx
lea ecx, [esp + 0x5c]
call fcn.0085d360
lea eax, [esp + 0x2c]
push eax
lea ebx, [esp + 0x58]
call 0x9decb0
cmp dword [esp + 0x6c], 0x10
jb 0x9d8a83
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00a7a9b9
add esp, 4
mov esi, dword [esp + 0x2c]
mov edi, dword [0xbe4d74]
xor ebx, ebx
cmp esi, ebx
je 0x9d8a9b
cmp esi, dword [0xbe4d5c]
je 0x9d8aa0
call fcn.00a7a8a1
cmp dword [esp + 0x30], edi
jne 0x9d8c25
mov esi, 0xf
lea eax, [esp + 0x474]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x9d8ac5
sub eax, edx
push eax
lea edx, [esp + 0x478]
push edx
lea ecx, [esp + 0x40]
call fcn.0085d360
push 0xffffffffffffffff
mov dword [esp + 0x88c], ebx
push ebx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.0085d280
mov ecx, 0x50
lea esi, [esp + 0x334]
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x84]
mov byte [esp + 0x890], 1
push ecx
lea ecx, [esp + 0x1e4]
mov dword [esp + 0x1fc], 0xf
mov dword [esp + 0x1f8], ebx
mov byte [esp + 0x1e8], bl
call fcn.0085d280
mov ecx, 0x50
lea esi, [esp + 0x98]
lea edi, [esp + 0x1f4]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x1d8]
push edx
lea ebx, [esp + 0x74]
mov byte [esp + 0x88c], 2
call fcn.00902540
mov esi, 0x10
cmp dword [esp + 0x1f0], esi
jb 0x9d8ba9
mov eax, dword [esp + 0x1dc]
push eax
call fcn.00a7a9b9
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0x1f0], edi
mov dword [esp + 0x1ec], ebx
mov byte [esp + 0x1dc], bl
cmp dword [esp + 0x94], esi
jb 0x9d8bde
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00a7a9b9
add esp, 4
mov dword [esp + 0x888], 0xffffffff
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0x50], esi
jb 0x9d8c11
mov edx, dword [esp + 0x3c]
push edx
call fcn.00a7a9b9
add esp, 4
inc dword [esp + 0x24]
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x50], edi
xor ebx, ebx
jmp 0x9d8c53
cmp esi, ebx
jne 0x9d8c8c
call fcn.00a7a8a1
xor esi, esi
mov eax, dword [esp + 0x30]
cmp eax, dword [esi + 0x18]
jne 0x9d8c3e
call fcn.00a7a8a1
mov edi, dword [esp + 0x30]
add edi, 0x28
mov ecx, 0x50
lea esi, [esp + 0x334]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x1c], ecx
je 0x9d8c90
mov ecx, dword [esp + 0x20]
push ebx
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
cmp eax, 4
je 0x9d89a0
jmp 0x9d8c9c
mov esi, dword [esi]
jmp 0x9d8c30
mov edi, dword [esp + 0x20]
mov dword [esp + 0x28], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x28], 0
jne 0x9d8cf3
cmp byte [str.C:PROGRA2eScanCLCACHE.DAT], 0
je 0x9d8cf3
push 0
mov edi, str.C:PROGRA2eScanCLCACHE.DAT
call fcn.009627b0
add esp, 4
cmp eax, 1
je 0x9d8cee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, edi
mov ebx, eax
call fcn.00958480
push 0
call fcn.009627b0
add esp, 4
cmp eax, 1
je 0x9d8cee
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x9d8cf3
call fcn.009d8d20
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x880]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x868]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret