Function at 0x4dbe80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5263f8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x588eb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 4], 0
push esi
push esi
push dword [edi + 0x10]
mov dword [ebp - 0x3c], esi
call fcn.0050ac0d
add esp, 0xc
lea eax, [ebp - 0x38]
push dword [edi + 0x10]
push 0x10
push 1
push eax
call fcn.0050b4f5
add esp, 0x10
cmp eax, 0x10
sete al
test al, al
je 0x4dc044
mov ax, word [ebp - 0x36]
test ax, ax
jne 0x4dbf1b
mov ax, word [ebp - 0x38]
test ax, ax
je 0x4dc02f
movzx eax, ax
add esi, eax
push 0
push esi
jmp 0x4dbecc
movzx ecx, ax
mov eax, dword [ebp - 0x18]
cmp ecx, eax
ja 0x4dbf39
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x4dbf46
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.004b39e0
push dword [edi + 0x10]
movzx esi, word [ebp - 0x36]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push esi
cmovae eax, dword [ebp - 0x28]
push 1
push eax
call fcn.0050b4f5
add esp, 0x10
cmp eax, esi
jne 0x4dc044
mov esi, dword [edi]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x30]
mov edi, dword [esi + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
mov eax, esi
cmp byte [edi + 0xd], 0
movlpd qword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x48], eax
jne 0x4dbfc6
nop dword [eax]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.004d7280
test al, al
je 0x4dbfb9
mov edi, dword [edi + 8]
jmp 0x4dbfbd
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x4dbfa0
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
cmp esi, eax
je 0x4dbfe0
lea eax, [esi + 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d7280
test al, al
je 0x4dc00e
lea eax, [ebp - 0x28]
mov ecx, edi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x3d]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x52bc40
call fcn.004d48c0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x4c]
push eax
call fcn.004d59d0
mov esi, dword [ebp - 0x4c]
movups xmm0, xmmword [ebp - 0x6c]
push 0
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [ebp - 0x5c]
movups xmmword [esi + 0x38], xmm0
movzx eax, word [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
add esi, eax
push esi
jmp 0x4dbecc
push esi
push dword [edi + 0x10]
call fcn.0050ee92
add esp, 4
push eax
call fcn.0050ef68
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4dc074
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4dc06a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dc091
push edx
push ecx
call fcn.004fbca6
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fbc95
mov esp, ebp
pop ebp
ret
call fcn.00501cb1
int3