Function at 0x41f25a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x610490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x5e5d78
push edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x60], ebx
call fcn.0055bb7c
mov esi, eax
mov dword [ebp - 0x5c], esi
pop ecx
pop ecx
test esi, esi
jne 0x41f29e
push 0x5e264d
mov ecx, edi
call fcn.00403e94
jmp 0x41f48c
push 2
push ebx
push ebx
push esi
call fcn.0055bb91
push esi
call fcn.0055bcc8
push ebx
push ebx
push ebx
push esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
call fcn.0055bb91
push 0xc800
call fcn.00431b64
mov ebx, eax
add esp, 0x28
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x48]
test eax, eax
jg 0x41f323
jl 0x41f2e5
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xfa000
ja 0x41f326
push esi
push 0xc800
push 1
push ebx
call fcn.0055c2dd
add esp, 0x10
mov dword [ebp - 0x48], eax
xor edx, edx
test eax, eax
jle 0x41f413
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x48]
movzx ecx, byte [edx + ebx]
add eax, ecx
inc edx
cmp edx, edi
jl 0x41f309
test edi, edi
mov dword [ebp - 0x3c], eax
mov edi, dword [ebp - 0x4c]
jg 0x41f2e5
jmp 0x41f413
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.00561d90
push esi
push 0xc800
push 1
push ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 8], edx
call fcn.0055c2dd
add esp, 0x10
mov dword [ebp - 0x40], eax
xor edx, edx
test eax, eax
jle 0x41f373
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x40]
movzx ecx, byte [edx + ebx]
add eax, ecx
inc edx
cmp edx, edi
jl 0x41f365
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.0055bb91
push esi
push 0xc800
push 1
push ebx
call fcn.0055c2dd
add esp, 0x20
mov dword [ebp - 0x54], eax
xor edx, edx
test eax, eax
jle 0x41f3b8
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x54]
movzx ecx, byte [edx + ebx]
add eax, ecx
inc edx
cmp edx, esi
jl 0x41f3a7
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 0x41f37d
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.0055bb91
push esi
push edi
push 1
push ebx
call fcn.0055c2dd
mov edi, dword [ebp - 0x4c]
add esp, 0x20
xor edx, edx
mov dword [ebp - 8], eax
test eax, eax
jle 0x41f413
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 8]
movzx ecx, byte [edx + ebx]
add eax, ecx
inc edx
cmp edx, edi
jl 0x41f402
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
push esi
call fcn.0055c3f5
push ebx
call fcn.00431b6d
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.0055a2cc
add esp, 0x10
add ebx, 2
inc esi
cmp esi, 8
jl 0x41f43a
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x10], bl
call fcn.00403e94
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.00403f05
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.0040412f
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005599c5
mov esp, ebp
pop ebp
ret