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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xa9aaf6
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push esi
push edi
mov eax, dword [0xb196ec]
xor eax, esp
push eax
lea eax, [esp + 0x320]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
cmp byte [str.C:PROGRA2eScanCLPRC.DAT], bl
je 0x9dbbe7
push 0x8000000
push 3
push 3
push 0x80000000
mov edi, str.C:PROGRA2eScanCLPRC.DAT
call fcn.0094db00
mov edi, eax
add esp, 0x10
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x9dbbe7
cmp edi, 0xffffffff
je 0x9dbbe7
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x2c], eax
jmp 0x9db936
mov edi, dword [esp + 0x18]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x211]
push ebx
push eax
mov byte [esp + 0x218], bl
call fcn.00a7ffb0
mov eax, 0xf
add esp, 0xc
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
push ebx
lea ecx, [esp + 0x20]
push ecx
push 4
lea edx, [esp + 0x30]
mov dword [esp + 0x334], ebx
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push edx
push edi
mov dword [esp + 0x38], ebx
call esi
mov eax, 4
cmp dword [esp + 0x1c], eax
jne 0x9dbb6a
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x104
jae 0x9dbb6a
push ebx
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x218]
push edx
push edi
call esi
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
cmp eax, edi
jne 0x9dbb83
add dword [esp + 0x14], eax
push edi
lea esi, [esp + 0x210]
call fcn.00978150
cmp byte [esp + edi + 0x20b], bl
jne 0x9dbb83
mov eax, esi
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x9dba20
sub eax, edx
push eax
lea eax, [esp + 0x210]
push eax
lea ecx, [esp + 0x5c]
call fcn.0085d360
mov ecx, dword [0xbe4cdc]
mov edi, dword [0xbe4cf4]
lea edx, [esp + 0x70]
push edx
lea ebx, [esp + 0x58]
mov dword [esp + 0x50], ecx
call fcn.00902040
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x9dba67
cmp eax, dword [esp + 0x4c]
je 0x9dba6c
call fcn.00a7a8a1
cmp dword [esi + 4], edi
mov edi, 0x10
sete bl
cmp dword [esp + 0x6c], edi
jb 0x9dba8a
mov eax, dword [esp + 0x58]
push eax
call fcn.00a7a9b9
add esp, 4
xor esi, esi
test bl, bl
lea ebx, [esi + 0xf]
je 0x9dbb0b
lea eax, [esp + 0x20c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], esi
mov byte [esp + 0x34], 0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x9dbab0
sub eax, edx
push eax
lea ecx, [esp + 0x210]
push ecx
lea ecx, [esp + 0x38]
call fcn.0085d360
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x7c]
push eax
push 0xbe4cdc
mov byte [esp + 0x334], 1
call fcn.009ac6a0
cmp dword [esp + 0x48], edi
jb 0x9dbafa
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00a7a9b9
add esp, 4
inc dword [esp + 0x20]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], esi
mov byte [esp + 0x34], 0
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x14], edx
je 0x9dbb9c
cmp dword [esp + 0xb8], edi
jb 0x9dbb32
mov eax, dword [esp + 0xa4]
push eax
call fcn.00a7a9b9
add esp, 4
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xb4], esi
mov byte [esp + 0xa4], 0
cmp dword [esp + 0x9c], edi
jb 0x9db930
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00a7a9b9
add esp, 4
jmp 0x9db930
lea esi, [esp + 0x84]
mov dword [esp + 0x328], 0xffffffff
call fcn.009dfbf0
jmp 0x9dbbc1
lea esi, [esp + 0x84]
mov dword [esp + 0x328], 0xffffffff
call fcn.009dfbf0
jmp 0x9dbbbd
lea esi, [esp + 0x84]
mov dword [esp + 0x28], 1
mov dword [esp + 0x328], 0xffffffff
call fcn.009dfbf0
xor ebx, ebx
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x28], ebx
jne 0x9dbbe1
mov eax, str.C:PROGRA2eScanCLPRC.DAT
call fcn.0095aa70
test eax, eax
je 0x9dbbe1
call fcn.009dbc10
mov eax, dword [esp + 0x20]
jmp 0x9dbbe9
xor eax, eax
mov ecx, dword [esp + 0x320]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret