Function at 0x41efb8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x60f490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x5e4d88
push edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x60], ebx
call fcn.0055b9de
mov esi, eax
mov dword [ebp - 0x5c], esi
pop ecx
pop ecx
test esi, esi
jne 0x41effc
push 0x5e1685
mov ecx, edi
call fcn.00403e34
jmp 0x41f1ea
push 2
push ebx
push ebx
push esi
call fcn.0055b9f3
push esi
call fcn.0055bb2a
push ebx
push ebx
push ebx
push esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
call fcn.0055b9f3
push 0xc800
call fcn.0043198c
mov ebx, eax
add esp, 0x28
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x48]
test eax, eax
jg 0x41f081
jl 0x41f043
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xfa000
ja 0x41f084
push esi
push 0xc800
push 1
push ebx
call fcn.0055c13f
add esp, 0x10
mov dword [ebp - 0x48], eax
xor edx, edx
test eax, eax
jle 0x41f171
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x48]
movzx ecx, byte [edx + ebx]
add eax, ecx
inc edx
cmp edx, edi
jl 0x41f067
test edi, edi
mov dword [ebp - 0x3c], eax
mov edi, dword [ebp - 0x4c]
jg 0x41f043
jmp 0x41f171
mov ecx, dword [ebp - 0x44]
push 0
push 0x12
pop edx
sub ecx, 0x19000
mov dword [ebp - 0x50], edx
push edx
sbb eax, 0
push eax
push ecx
call fcn.00561bf0
push esi
push 0xc800
push 1
push ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 8], edx
call fcn.0055c13f
add esp, 0x10
mov dword [ebp - 0x40], eax
xor edx, edx
test eax, eax
jle 0x41f0d1
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x40]
movzx ecx, byte [edx + ebx]
add eax, ecx
inc edx
cmp edx, edi
jl 0x41f0c3
mov dword [ebp - 0x3c], eax
xor eax, eax
mov edi, 0xc800
mov dword [ebp - 0x40], eax
push 0
push eax
push edi
push esi
call fcn.0055b9f3
push esi
push 0xc800
push 1
push ebx
call fcn.0055c13f
add esp, 0x20
mov dword [ebp - 0x54], eax
xor edx, edx
test eax, eax
jle 0x41f116
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x54]
movzx ecx, byte [edx + ebx]
add eax, ecx
inc edx
cmp edx, esi
jl 0x41f105
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
add edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x40]
adc eax, dword [ebp - 8]
dec dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
jne 0x41f0db
mov eax, dword [ebp - 0x44]
mov edi, 0xc800
mov ecx, dword [ebp - 0x48]
sub eax, edi
push 0
sbb ecx, 0
push ecx
push eax
push esi
call fcn.0055b9f3
push esi
push edi
push 1
push ebx
call fcn.0055c13f
mov edi, dword [ebp - 0x4c]
add esp, 0x20
xor edx, edx
mov dword [ebp - 8], eax
test eax, eax
jle 0x41f171
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 8]
movzx ecx, byte [edx + ebx]
add eax, ecx
inc edx
cmp edx, edi
jl 0x41f160
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
push esi
call fcn.0055c257
push ebx
call fcn.00431987
mov eax, dword [ebp - 0x44]
lea ebx, [ebp - 0x20]
add eax, 0x9d
imul eax, eax, 0xc
xor esi, esi
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
movzx eax, byte [ebp + esi - 0xc]
push eax
push str._02x
push 3
push ebx
call fcn.0055a0ec
add esp, 0x10
add ebx, 2
inc esi
cmp esi, 8
jl 0x41f198
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x10], bl
call fcn.00403e34
lea eax, [ebp - 0x38]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov ecx, edi
push eax
mov byte [edi], bl
call fcn.00403ea5
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.004040cf
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005597ea
mov esp, ebp
pop ebp
ret