Function at 0x4adba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f72b8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x54d000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x50]
call fcn.004cc3e0
mov dword [ebp - 4], 0
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
cmp eax, dword [edx + 4]
jne 0x4adc43
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x38]
push 0x531d34
push eax
call fcn.004b74c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov ecx, 0x58dba0
push 0
cmovae eax, dword [ebp - 0x38]
push eax
mov eax, dword [0x58dba0]
call dword [eax + 4]
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
mov dword [ebp - 0x28], 0
cmovae eax, dword [ebp - 0x38]
mov byte [eax], 0
cmp dword [ebp - 0x24], 0x10
jb 0x4adde0
push dword [ebp - 0x38]
call fcn.004d9d65
add esp, 4
jmp 0x4adde0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], vtable.CFile.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
push 0
push 3
push 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
push 1
cmovae eax, dword [ebp - 0x50]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, eax
mov dword [ebp - 0x1c], edx
cmp edx, 0xffffffff
jne 0x4add95
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
cmovae eax, dword [ebp - 0x50]
push eax
push 0x529bc4
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004c6540
add esp, 0x10
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
mov byte [eax], 0
cmp dword [ebp - 0x6c], 0x10
jb 0x4adcfe
push dword [ebp - 0x80]
call fcn.004d9d65
add esp, 4
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
mov ecx, dword [esi + 4]
cmovae eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004b74c0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
mov ecx, 0x58dba0
push 0
cmovae eax, dword [ebp - 0x68]
push eax
mov eax, dword [0x58dba0]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
mov dword [ebp - 0x58], 0
cmovae eax, dword [ebp - 0x68]
mov byte [eax], 0
cmp dword [ebp - 0x54], 0x10
jb 0x4add5b
push dword [ebp - 0x68]
call fcn.004d9d65
add esp, 4
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
mov dword [ebp - 0x54], 0xf
cmovae eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x28], 0
mov byte [eax], 0
cmp dword [ebp - 0x24], 0x10
jb 0x4addc8
push dword [ebp - 0x38]
call fcn.004d9d65
add esp, 4
jmp 0x4addc8
mov eax, dword [esi + 0x14]
lea esi, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
push esi
push ecx
push dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
call dword [eax + 0xc]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CFile.0
call dword [0x530444]
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
mov dword [ebp - 0x40], 0
cmovae eax, dword [ebp - 0x50]
mov byte [eax], 0
cmp dword [ebp - 0x3c], 0x10
jb 0x4ade06
push dword [ebp - 0x50]
call fcn.004d9d65
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret