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

Disassembly:
push 0xffffffffffffffff
push 0x42bfbc
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x441dac]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x441dac]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x16c]
xor ebx, ebx
push 0xc7
lea eax, [esp + 0x95]
push ebx
push eax
mov byte [esp + 0x9c], bl
call fcn.00418130
add esp, 0xc
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ac8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x94]
push str.Create_Inf_file_failed__d___
push ecx
call fcn.00419ba9
lea edx, [esp + 0x9c]
push edx
call fcn.00404820
add esp, 0x10
xor eax, eax
jmp 0x40aec8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x40acd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetFileSize_failed__d___
lea eax, [esp + 0x98]
push eax
call fcn.00419ba9
lea ecx, [esp + 0x9c]
push ecx
call fcn.00404820
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40aec8
lea ebp, [eax + 1]
push ebp
call fcn.0040f57a
push ebp
mov edi, eax
push ebx
push edi
call fcn.00418130
add esp, 0x10
push ebx
lea edx, [esp + 0x18]
push edx
push ebp
push edi
push esi
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40ad0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadFile_failed__d___
jmp 0x40aca8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea ecx, [esp + 0x40]
call fcn.00404060
push edi
mov dword [esp + 0x168], ebx
call fcn.0040f57f
add esp, 4
push 0x42ea1b
lea ecx, [esp + 0x78]
call fcn.00404060
mov eax, dword [esp + 0x40]
mov ebp, 0x10
cmp dword [esp + 0x54], ebp
mov byte [esp + 0x164], 1
jae 0x40ad58
lea eax, [esp + 0x40]
push eax
call fcn.004180bb
add esp, 4
push 0xd
push ebx
push str.vid_339bpid_
lea ecx, [esp + 0x48]
call fcn.00402050
cmp eax, 0xffffffff
je 0x40ae84
jmp 0x40ad80
push 0xd
push ebx
push str.vid_339bpid_
lea ecx, [esp + 0x48]
call fcn.00402050
mov esi, eax
push 4
lea edx, [esi + 0xd]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x48]
call fcn.00404100
cmp dword [esp + 0x70], ebp
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x164], 2
jae 0x40adbd
lea eax, [esp + 0x5c]
push eax
call fcn.004028d0
add esp, 4
test eax, eax
jne 0x40adf5
mov edi, dword [0x490430]
cmp edi, dword [0x490434]
jbe 0x40addd
call fcn.00418eb2
lea ecx, [esp + 0x58]
push ecx
mov eax, 0x49042c
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, eax
call fcn.0040aae0
cmp dword [esp + 0x54], ebp
mov eax, dword [esp + 0x40]
jae 0x40ae03
lea eax, [esp + 0x40]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40ae06
sub eax, edx
add eax, 0xffffffef
push eax
add esi, 0x11
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48]
call fcn.00404100
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x170], 3
call fcn.004033d0
cmp dword [esp + 0x38], ebp
jb 0x40ae4f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0040f57f
add esp, 4
cmp dword [esp + 0x70], ebp
mov byte [esp + 0x164], 1
jb 0x40ae6a
mov edx, dword [esp + 0x5c]
push edx
call fcn.0040f57f
add esp, 4
push 0xd
push ebx
push str.vid_339bpid_
lea ecx, [esp + 0x48]
call fcn.00402050
cmp eax, 0xffffffff
jne 0x40ad80
cmp dword [esp + 0x8c], ebp
jb 0x40ae9a
mov eax, dword [esp + 0x78]
push eax
call fcn.0040f57f
add esp, 4
cmp dword [esp + 0x54], ebp
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
jb 0x40aec3
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0040f57f
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.0041811d
add esp, 0x154
ret