Function at 0x41fb20
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525d1b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x100d0
call fcn.004f99a0
mov eax, dword [0x592830]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x100d8], esi
mov dword [ebp - 0x100d0], esi
mov dword [ebp - 0x100d0], esi
mov dword [ebp - 4], 0
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 8
push 0x5876c8
cmovae eax, dword [ebx + 8]
push eax
lea eax, [ebp - 0x100cc]
mov dword [ebp - 0x100cc], 0
push eax
call fcn.004fedc4
add esp, 0xc
cmp dword [ebp - 0x100cc], 0
jne 0x41fc32
mov ecx, dword [ebx + 0x1c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp ecx, 8
jb 0x41fc12
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41fc08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fe13
push ecx
push edx
call fcn.004f92ad
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f929f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x100c8]
push eax
call fcn.0042a140
add esp, 4
lea eax, [ebp - 0x10040]
push dword [ebp - 0x100cc]
push 0x10000
push 1
push eax
call fcn.00506a56
add esp, 0x10
test eax, eax
je 0x41fc98
push eax
lea eax, [ebp - 0x10040]
push eax
lea eax, [ebp - 0x100c8]
push eax
call fcn.0042a1a0
add esp, 0xc
lea eax, [ebp - 0x10040]
push dword [ebp - 0x100cc]
push 0x10000
push 1
push eax
call fcn.00506a56
add esp, 0x10
test eax, eax
jne 0x41fc61
lea eax, [ebp - 0x100c8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00429e60
push dword [ebp - 0x100cc]
call fcn.004fef52
xorps xmm0, xmm0
mov dword [ebp - 0x10048], 0
movups xmmword [ebp - 0x10058], xmm0
add esp, 0xc
mov dword [ebp - 0x10044], 0xf
mov byte [ebp - 0x10058], 0
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x100d4], eax
nop word [eax + eax]
movzx eax, byte [ebp + eax - 0x3c]
push eax
push str._02x
lea eax, [ebp - 0x1c]
push 7
push eax
call fcn.004119e0
lea esi, [ebp - 0x1c]
add esp, 0x10
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x41fd10
mov edx, dword [ebp - 0x10044]
sub esi, ecx
mov ecx, dword [ebp - 0x10048]
mov eax, edx
sub eax, ecx
push esi
cmp esi, eax
ja 0x41fd5c
lea eax, [esi + ecx]
cmp edx, 0x10
mov dword [ebp - 0x10048], eax
lea edi, [ebp - 0x10058]
cmovae edi, dword [ebp - 0x10058]
lea eax, [ebp - 0x1c]
add edi, ecx
push eax
push edi
call fcn.004faeb0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x41fd79
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x100d0], 0
push eax
push dword [ebp - 0x100d0]
lea ecx, [ebp - 0x10058]
push esi
call fcn.004035e0
mov eax, dword [ebp - 0x100d4]
inc eax
mov dword [ebp - 0x100d4], eax
cmp eax, 0x20
jl 0x41fcf0
mov esi, dword [ebp - 0x100d8]
xorps xmm0, xmm0
mov ecx, dword [ebx + 0x1c]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x10058]
mov byte [ebp - 0x10058], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x10048]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x10048], 0
mov dword [ebp - 0x10044], 0xf
cmp ecx, 8
jb 0x41fc12
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41fc08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41fc08
call fcn.004febef
int3