Function at 0x41f38e
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 0x5e5d68
push edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x60], ebx
call fcn.0055bcbc
mov esi, eax
mov dword [ebp - 0x5c], esi
pop ecx
pop ecx
test esi, esi
jne 0x41f3d2
push 0x5e268d
mov ecx, edi
call fcn.00403e94
jmp 0x41f5c0
push 2
push ebx
push ebx
push esi
call fcn.0055bcd1
push esi
call fcn.0055be08
push ebx
push ebx
push ebx
push esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
call fcn.0055bcd1
push 0xc800
call fcn.00431c97
mov ebx, eax
add esp, 0x28
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x48]
test eax, eax
jg 0x41f457
jl 0x41f419
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xfa000
ja 0x41f45a
push esi
push 0xc800
push 1
push ebx
call fcn.0055c41d
add esp, 0x10
mov dword [ebp - 0x48], eax
xor edx, edx
test eax, eax
jle 0x41f547
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x48]
movzx ecx, byte [edx + ebx]
add eax, ecx
inc edx
cmp edx, edi
jl 0x41f43d
test edi, edi
mov dword [ebp - 0x3c], eax
mov edi, dword [ebp - 0x4c]
jg 0x41f419
jmp 0x41f547
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.00561ed0
push esi
push 0xc800
push 1
push ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 8], edx
call fcn.0055c41d
add esp, 0x10
mov dword [ebp - 0x40], eax
xor edx, edx
test eax, eax
jle 0x41f4a7
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x40]
movzx ecx, byte [edx + ebx]
add eax, ecx
inc edx
cmp edx, edi
jl 0x41f499
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.0055bcd1
push esi
push 0xc800
push 1
push ebx
call fcn.0055c41d
add esp, 0x20
mov dword [ebp - 0x54], eax
xor edx, edx
test eax, eax
jle 0x41f4ec
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x54]
movzx ecx, byte [edx + ebx]
add eax, ecx
inc edx
cmp edx, esi
jl 0x41f4db
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 0x41f4b1
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.0055bcd1
push esi
push edi
push 1
push ebx
call fcn.0055c41d
mov edi, dword [ebp - 0x4c]
add esp, 0x20
xor edx, edx
mov dword [ebp - 8], eax
test eax, eax
jle 0x41f547
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 8]
movzx ecx, byte [edx + ebx]
add eax, ecx
inc edx
cmp edx, edi
jl 0x41f536
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
push esi
call fcn.0055c535
push ebx
call fcn.00431ca0
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.0055a40c
add esp, 0x10
add ebx, 2
inc esi
cmp esi, 8
jl 0x41f56e
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.00559b09
mov esp, ebp
pop ebp
ret