Function at 0x42eac0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x84de0b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x8943b8]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8943b8]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa8]
xor ebx, ebx
push ebx
mov esi, ecx
push 0x871030
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.00402200
mov eax, ebp
mov dword [esp + 0xa0], ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x42eb40
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x80]
call fcn.00408620
cmp dword [esp + 0x90], 0x10
mov eax, dword [esp + 0x7c]
jae 0x42eb6b
lea eax, [esp + 0x7c]
push ebx
push 0x80
push 3
push ebx
push 1
push 1
mov edi, vtable.CFileReader.0
push eax
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x42eb97
xor eax, eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0xa0], 1
jne 0x42ebe5
push ebx
push 0x871030
lea ecx, [esi + 0x108]
call fcn.00402200
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], edi
je 0x42ebc7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x90], 0x10
jb 0x42ebde
mov eax, dword [esp + 0x7c]
push eax
call fcn.0081f6fa
add esp, 4
xor al, al
jmp 0x42edc8
mov eax, ebp
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x42ebf0
sub eax, edx
push eax
lea edi, [esi + 0x108]
push ebp
mov ecx, edi
call fcn.00402200
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [esp + 0x20]
push ecx
push 4
lea edx, [esp + 0x2c]
push edx
push eax
call ebp
call fcn.0043dc10
test al, al
jne 0x42ec35
and dword [esp + 0x20], 0xffff
call fcn.0043dc20
cmp dword [esp + 0x20], eax
push ebx
je 0x42ec86
push 0x871030
mov ecx, edi
call fcn.00402200
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], vtable.CFileReader.0
je 0x42ec64
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x90], 0x10
jb 0x42ebde
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0081f6fa
add esp, 4
xor al, al
jmp 0x42edc8
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push 0xa
lea eax, [esi + 0xe8]
push eax
push ecx
call ebp
mov dl, byte [esi + 0xef]
sub dl, 1
lea edi, [esi + 0xf4]
mov ecx, edi
mov byte [esi + 0x140], dl
call fcn.0042e520
push 0x43cbe0
push 0x42aea0
push 2
push 0x14
lea eax, [esp + 0x40]
push eax
call fcn.0082008b
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
movsx eax, byte [esi + 0xef]
lea ecx, [esp + 0x28]
push ecx
push eax
mov ecx, edi
mov byte [esp + 0xa8], 2
call fcn.0042e8f0
lea ecx, [esp + 0x64]
mov byte [esp + 0xa0], 1
call fcn.00433a50
push 0x43cbe0
push 2
push 0x14
lea edx, [esp + 0x3c]
push edx
call fcn.00820028
xor ebp, ebp
cmp byte [esi + 0xef], bl
jle 0x42ed82
mov dword [esp + 0x24], ebx
lea ecx, [ecx]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x42ed51
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x42ed56
call fcn.0081ff70
mov ecx, dword [edi + 4]
add ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
call fcn.0042d7f0
test al, al
je 0x42edf2
movsx ecx, byte [esi + 0xef]
add dword [esp + 0x24], 0x50
add ebp, 1
cmp ebp, ecx
jl 0x42ed30
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esi + 0x6c], 1
mov word [esi + 0x68], bx
mov byte [esi + 0xd4], 1
mov word [esi + 0xd0], bx
mov dword [esp + 0x14], vtable.CFileReader.0
je 0x42edaf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x90], 0x10
jb 0x42edc6
mov eax, dword [esp + 0x7c]
push eax
call fcn.0081f6fa
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0081fb35
add esp, 0x90
ret 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], vtable.CFileReader.0
je 0x42ee09
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x90], 0x10
jb 0x42ebde
mov edx, dword [esp + 0x7c]
push edx
call fcn.0081f6fa
add esp, 4
xor al, al
jmp 0x42edc8