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

Disassembly:
push 0xffffffffffffffff
push 0x5c663b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov edx, dword [esp + 0x28]
push ebx
push esi
push edi
mov edi, ecx
mov eax, edx
mov dword [esp + 0x1c], edi
mov byte [edi + 0x28], 0
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f6e0
sub eax, esi
push eax
push edx
mov ecx, edi
call fcn.00403040
cmp dword [edi + 0x18], 0x10
jb 0x41f6fd
mov eax, dword [edi + 4]
jmp 0x41f700
lea eax, [edi + 4]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x20], edi
je 0x41f8a4
push ebp
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp dword [esp + 0x10], ebx
jne 0x41f89c
cmp esi, 0x100000
jae 0x41f89c
lea ecx, [esi + 1]
push ecx
call fcn.005abeeb
add esp, 4
push ebx
lea edx, [esp + 0x1c]
push edx
mov ebp, eax
push esi
push ebp
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41f79f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call fcn.005abee6
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
xor edi, edi
cmp ebp, ebx
mov byte [esi + ebp], 0
mov esi, ebp
mov dword [esp + 0x38], edi
je 0x41f88f
jmp 0x41f7c0
mov ebp, dword [esp + 0x14]
lea esp, [esp]
cmp byte [esi], 0
je 0x41f88f
push 0x5e685c
push esi
call fcn.0057bca0
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0x1c], ebp
je 0x41f88b
test ebx, ebx
mov byte [ebp], 0
jne 0x41f84e
test edi, edi
je 0x41f801
mov ecx, edi
call fcn.0041ed20
push edi
call fcn.005abee6
add esp, 4
push 0x80
call fcn.005abebb
add esp, 4
mov dword [esp + 0x38], eax
xor ecx, ecx
mov dword [esp + 0x30], ecx
cmp eax, ecx
je 0x41f825
mov ecx, eax
call fcn.0041eca0
mov ecx, eax
mov dword [esp + 0x30], 0xffffffff
mov edi, ecx
mov edx, esi
mov dword [esp + 0x38], edi
lea ebp, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41f838
sub edx, ebp
push edx
push esi
call fcn.00403040
mov ebp, dword [esp + 0x1c]
jmp 0x41f87b
cmp ebx, 1
jne 0x41f86d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f858
sub eax, edx
push eax
push esi
lea ecx, [edi + 0x1c]
call fcn.00403040
jmp 0x41f87b
cmp ebx, 2
jne 0x41f8b8
push esi
lea ecx, [edi + 0x38]
call fcn.00403240
test edi, edi
je 0x41f880
inc ebx
lea esi, [ebp + 1]
test esi, esi
jne 0x41f7b5
mov ebp, dword [esp + 0x14]
push ebp
call fcn.005abee6
mov edi, dword [esp + 0x28]
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
cmp ebx, 3
jne 0x41f8c3
push esi
lea ecx, [edi + 0x54]
jmp 0x41f876
cmp ebx, 4
jne 0x41f8d6
push esi
call fcn.0057bc91
add esp, 4
mov dword [edi + 0x78], eax
jmp 0x41f87b
cmp ebx, 5
jne 0x41f8e9
push esi
call fcn.0057bc91
add esp, 4
mov dword [edi + 0x7c], eax
jmp 0x41f87b
cmp ebx, 6
jne 0x41f8ff
push esi
call fcn.0057bc91
add esp, 4
mov dword [edi + 0x70], eax
jmp 0x41f87b
cmp ebx, 7
jne 0x41f915
push esi
call fcn.0057bc91
add esp, 4
mov dword [edi + 0x74], eax
jmp 0x41f87b
cmp byte [esi], 0x2a
jne 0x41f87b
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
add ecx, 0x1c
call fcn.0041f670
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x38], edi
jmp 0x41f880