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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x48a3b0
push 0x441f50
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x48e050]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
lea edi, [esi + 0xdc4]
push esi
push str._sSystemFirewall_tcl2.db
push edi
call fcn.0041c5e0
add esp, 0xc
mov eax, dword [edi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x423d06
mov eax, dword [eax + 4]
push eax
mov ecx, edi
call fcn.00401710
mov edi, dword [edi]
push ebx
push ebx
push 4
push ebx
push 1
push 0x10000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x2c], ebx
cmp ebx, 0xffffffff
je 0x423f55
xor edi, edi
mov dword [ebp - 4], edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x28], eax
cmp eax, edi
jne 0x423d59
mov dword [esi + 0xda0], 2
mov dword [esi + 0xda4], edi
mov dword [esi + 0xda8], 0xc
jmp 0x423db7
lea edi, [esi + 0xda0]
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0xc
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423e4a
mov eax, 0xc
cmp dword [ebp - 0x20], eax
jb 0x423e4a
cmp dword [edi], 2
jne 0x423e4a
cmp dword [esi + 0xda8], eax
jne 0x423e4a
mov eax, dword [esi + 0xda4]
lea edx, [eax + eax*2]
add edx, edx
add edx, edx
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
cmp edx, eax
jne 0x423e4a
xor edi, edi
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx edx, word [ebp - 0x40]
imul edx, edx, 0x64
movzx eax, word [ebp - 0x3e]
add edx, eax
imul edx, edx, 0x64
movzx ecx, word [ebp - 0x3a]
add ecx, edx
mov dword [esi + 0xdc0], ecx
mov eax, dword [esi + 0xda4]
cmp eax, edi
je 0x423ed2
dec eax
imul eax, dword [esi + 0xda8]
add eax, 0xc
mov dword [esi + 0xdbc], eax
push edi
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edi, [esi + 0xdac]
push 0
lea edx, [ebp - 0x20]
push edx
push 0xc
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0xdc0]
cmp eax, dword [edi]
je 0x423e4a
add dword [esi + 0xdbc], 0xc
inc dword [esi + 0xda4]
mov dword [edi], eax
xor eax, eax
mov dword [esi + 0xdb0], eax
mov dword [esi + 0xdb4], eax
xor edi, edi
mov dword [ebp - 4], 0xfffffffe
call fcn.00423f05
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
push 0x2bf20
call ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp + 8], edi
push edi
push edi
push 3
push edi
push 1
push bind
push str..FwDrv0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x423e60
push edi
lea ecx, [ebp + 8]
push ecx
push 8
lea edx, [ebp - 0x30]
push edx
push edi
push edi
push 0x226026
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x423f3c
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.Total__d_Block__d
call fcn.00404c20
add esp, 0xc
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x30]
push eax
push esi
call fcn.00423b40
jmp 0x423e60
mov dword [esi + 0xdbc], 0xc
mov dword [esi + 0xda4], 1
mov dword [esi + 0xdac], ecx
mov dword [esi + 0xdb0], edi
mov dword [esi + 0xdb4], edi
jmp 0x423e4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeviceIoControl_error:__d
call fcn.00404c20
add esp, 8
jmp 0x423e60
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4