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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465088
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x48d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, esp
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 8]
call fcn.00401c30
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp esi, esp
call fcn.00429e23
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x41b394
mov ecx, dword [ebp + 8]
call fcn.00401c30
push eax
push 0x46a438
push 0x46a4a8
call fcn.004146d0
push eax
call fcn.004148d0
add esp, 0x10
xor al, al
jmp 0x41b577
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, esp
call fcn.00429e23
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x41b3fd
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00429e23
push eax
mov ecx, dword [ebp + 8]
call fcn.00401c30
push eax
push 0x46a4c8
push 0x46a558
call fcn.004146d0
push eax
call fcn.00414d70
add esp, 0x14
mov esi, esp
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00429e23
xor al, al
jmp 0x41b577
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
call fcn.00446416
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41b457
mov ecx, dword [ebp + 8]
call fcn.00401c30
push eax
push 0x46a578
push 0x46a5e8
call fcn.004146d0
push eax
call fcn.004148d0
add esp, 0x10
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00429e23
xor al, al
jmp 0x41b577
mov esi, esp
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.00429e23
test eax, eax
jne 0x41b4c3
mov ecx, dword [ebp + 8]
call fcn.00401c30
push eax
push 0x46a608
push 0x46a654
call fcn.004146d0
push eax
call fcn.004148d0
add esp, 0x10
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00446411
add esp, 4
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00429e23
xor al, al
jmp 0x41b577
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x44]
call fcn.00413770
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.0040c980
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x41b542
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00446411
add esp, 4
mov esi, esp
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00429e23
push str.Unable_to_convert_from_string_to_native_string.
push 0x46a6f8
call fcn.004146d0
push eax
call fcn.00414b70
add esp, 0xc
mov byte [ebp - 0x49], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401d80
mov al, byte [ebp - 0x49]
jmp 0x41b577
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00446411
add esp, 4
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00429e23
mov byte [ebp - 0x4a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401d80
mov al, byte [ebp - 0x4a]
push edx
mov ecx, ebp
push eax
lea edx, [0x41b5b0]
call fcn.00429dcb
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429e52
add esp, 0x4c
cmp ebp, esp
call fcn.00429e23
mov esp, ebp
pop ebp
ret