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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468a6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push esi
push edi
push 0x103
lea eax, [ebp - 0x12b]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x12c], 0
call fcn.0043afd0
lea ecx, [esi + 0x29c]
push ecx
lea edx, [esi + 0x28c]
push edx
lea edi, [esi + 0x20c]
push edi
lea eax, [esi + 0x108]
push eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x12c]
push str._s_mupdb__s__s__s
push ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push 0
push 0
push 3
push 0
push 0
push SysReAllocStringLen
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42bde0
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.0043609d
push edi
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x24], ebx
call fcn.0043afd0
add esp, 0x10
push 0
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x42be62
push 0x2c
call fcn.0043609d
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x42be4e
push esi
push 0x47a1a4
push 3
push edi
push ebx
mov ecx, eax
call fcn.00468232
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x42be77
push ebx
call fcn.00436059
add esp, 4
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [str.fileset]
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
xor ebx, ebx
push ebx
push eax
push 1
mov ecx, esi
mov dword [ebp - 0x10], ebx
call edx
test eax, eax
je 0x42beba
lea edi, [ebx + 1]
mov ecx, dword [str.fileset]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 0
push ecx
push edi
mov ecx, esi
call edx
test eax, eax
je 0x42beb2
cmp byte [eax], 0
je 0x42beb2
inc ebx
inc edi
test eax, eax
jne 0x42be95
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp - 0x28]
push ebx
push edx
mov edx, dword [ebp - 0x14]
push ecx
push edx
mov ecx, edi
call eax
xor ebx, ebx
cmp dword [ebp - 0x10], ebx
jbe 0x42bfd3
mov edx, dword [esi]
push 0
lea eax, [ebx + 1]
push str.fileset
mov dword [ebp + 0xc], eax
push eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov dword [ebp + 8], eax
test eax, eax
je 0x42bfc7
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 0
push str.shared
push ebx
mov ecx, esi
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [edi]
mov edx, dword [edx + 0x50]
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
push eax
push ecx
mov ecx, edi
call edx
mov ecx, dword [ebp + 0xc]
push 0x46eaf4
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.location
push ecx
mov ecx, esi
call edx
test ebx, ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
je 0x42bf54
add ebx, 4
jmp 0x42bf5a
add ebx, 0x108
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [eax + ebx - 1]
dec eax
cmp cl, 0x5c
je 0x42bf79
cmp cl, 0x2f
je 0x42bf79
test eax, eax
mov eax, 0x470980
jne 0x42bf7e
mov eax, 0x46eaf4
mov ecx, dword [ebp + 8]
push ecx
push eax
push ebx
lea edx, [ebp - 0x12c]
push str._s_s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [edi]
mov ebx, dword [ebp - 0x14]
mov edx, dword [eax + 0x54]
add esp, 0x14
lea ecx, [ebp - 0x12c]
push ecx
push ebx
mov ecx, edi
call edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x42bfc7
mov edx, dword [edi]
mov eax, dword [edx + 0x6c]
push 0x18
push ebx
mov ecx, edi
call eax
mov ebx, dword [ebp + 0xc]
cmp ebx, dword [ebp - 0x10]
jb 0x42bee1
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00436059
mov ecx, dword [ebp - 0xc]
add esp, 4
cmp dword [ebp - 0x10], 0
pop ebx
pop edi
setne al
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8