Function at 0x446e80
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5879e6
mov eax, dword fs:[0]
push eax
sub esp, 0xa6c
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa6c], ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
xor ecx, ecx
mov word [ebp - 0x21c], cx
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.00568440
add esp, 0xc
push 0x103
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x224], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x224], 0
je 0x446f32
cmp dword [ebp - 0x220], 0x7a
je 0x446f32
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.icshg.lic
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x446f37
jmp 0x447140
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x447140
push 0
push 0x80
push 3
push 0
push 0
push closesocket
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0xffffffff
jne 0x446f7f
jmp 0x447140
push 0
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xa64], eax
mov dword [ebp - 0xa60], 0
mov byte [ebp - 0xa5c], 0
push 0x3ff
push 0
lea eax, [ebp - 0xa5b]
push eax
call fcn.00568440
add esp, 0xc
push 0
lea ecx, [ebp - 0xa60]
push ecx
mov edx, dword [ebp - 0xa64]
push edx
lea eax, [ebp - 0xa5c]
push eax
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x446ff1
mov edx, dword [ebp - 0xa64]
cmp edx, dword [ebp - 0xa60]
je 0x44700c
cmp dword [ebp - 0x250], 0xffffffff
je 0x447007
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447140
cmp dword [ebp - 0x250], 0xffffffff
je 0x447022
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x654]
call fcn.00553df0
mov dword [ebp - 4], 0
push 9
mov edx, dword [ebp - 0xa60]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa68], esp
lea eax, [ebp - 0xa5c]
push eax
call fcn.00406050
mov dword [ebp - 0xa70], eax
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x654]
call fcn.00554550
mov dword [ebp - 0xa74], eax
mov byte [ebp - 4], 1
call fcn.00402270
mov dword [ebp - 0x658], eax
lea ecx, [ebp - 0x244]
call fcn.00406190
push eax
call fcn.00409b70
add esp, 4
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
jne 0x4470c7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x654]
call fcn.00495d30
jmp 0x447140
push str.overdue_time
mov edx, dword [ebp - 0x254]
push edx
call fcn.0040b010
add esp, 8
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jne 0x4470f6
mov dword [ebp - 0xa78], 0
jmp 0x447105
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0xa78], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xa78]
mov dword [edx], eax
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00408a10
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x654]
call fcn.00495d30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret 4