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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f43b
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.0043cdc0
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 0x42d660
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.004378e5
push edi
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x24], ebx
call fcn.0043cdc0
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 0x42d6e2
push 0x2c
call fcn.004378e5
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x42d6ce
push esi
push 0x48316c
push 3
push edi
push ebx
mov ecx, eax
call fcn.0046e0f8
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x42d6f7
push ebx
call fcn.004378da
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 0x42d73a
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 0x42d732
cmp byte [eax], 0
je 0x42d732
inc ebx
inc edi
test eax, eax
jne 0x42d715
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 0x42d853
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 0x42d847
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 0x476484
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 0x42d7d4
add ebx, 4
jmp 0x42d7da
add ebx, 0x108
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [eax + ebx - 1]
dec eax
cmp cl, 0x5c
je 0x42d7f9
cmp cl, 0x2f
je 0x42d7f9
test eax, eax
mov eax, 0x4785b0
jne 0x42d7fe
mov eax, 0x476484
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 0x42d847
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 0x42d761
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004378da
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