Function at 0x401efb
Capabilities:
Read file on windows

Disassembly:
push 0x64
mov eax, 0x45258a
call fcn.00441ba8
lea ecx, [ebp - 0x34]
call fcn.00401e4a
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x401f20
lea eax, [ebp - 0x2c]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
mov dword [ebp - 0x60], edi
push ebx
cmp edi, ebx
je 0x402172
push ebx
push dword [0x46c3b0]
mov dword [ebp - 0x54], ebx
push edi
mov dword [ebp - 0x64], ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov esi, dword [sym.imp.KERNEL32.DLL_ReadFile]
push ebx
lea eax, [ebp - 0x54]
push eax
push 4
lea eax, [ebp - 0x64]
push eax
push edi
call esi
cmp dword [ebp - 0x54], 4
je 0x401f97
xor edi, edi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
push 1
lea esi, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.TString.0
call fcn.00401464
mov eax, edi
jmp 0x402185
cmp dword [ebp - 0x64], 0x41474745
jne 0x401fab
xor edi, edi
mov dword [0x46c3b4], ebx
inc edi
jmp 0x401f75
cmp dword [ebp - 0x64], 0x245b90f2
jne 0x401f73
push ebx
lea eax, [ebp - 0x54]
push eax
push 4
lea eax, [ebp - 0x6c]
push eax
push edi
mov dword [ebp - 0x6c], ebx
call esi
cmp dword [ebp - 0x54], 4
jne 0x401f73
push ebx
lea eax, [ebp - 0x54]
push eax
push 2
lea eax, [ebp - 0x70]
push eax
push edi
mov dword [ebp - 0x70], ebx
call esi
cmp dword [ebp - 0x54], 2
jne 0x401f73
push ebx
lea eax, [ebp - 0x54]
push eax
push 4
lea eax, [ebp - 0x68]
push eax
push edi
call esi
cmp dword [ebp - 0x54], 4
jne 0x401f73
jmp 0x401fff
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x402136
movzx ecx, ax
shr eax, 0x10
movzx edi, ax
lea eax, [edi + 2]
push eax
mov dword [ebp - 0x5c], ecx
call fcn.0043d488
pop ecx
mov dword [ebp - 0x58], eax
cmp eax, ebx
je 0x401f73
lea eax, [edi + 2]
push eax
push ebx
push dword [ebp - 0x58]
call fcn.0043dae0
add esp, 0xc
push ebx
lea eax, [ebp - 0x54]
push eax
push edi
push dword [ebp - 0x58]
push dword [ebp - 0x60]
call esi
cmp dword [ebp - 0x54], edi
jne 0x40215f
xor edi, edi
inc edi
mov eax, edi
cmp ax, word [ebp - 0x5c]
jne 0x402063
mov dword [0x46c418], edi
push 2
pop eax
cmp ax, word [ebp - 0x5c]
jne 0x402072
mov dword [0x46c41c], edi
push 3
pop eax
cmp ax, word [ebp - 0x5c]
jne 0x4020a6
push dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
call fcn.00402ad6
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x46c3f8
mov byte [ebp - 4], 1
call fcn.0040846c
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00402d0c
push 4
pop eax
cmp ax, word [ebp - 0x5c]
jne 0x4020da
push dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
call fcn.00402ad6
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x46c3b8
mov byte [ebp - 4], 2
call fcn.0040846c
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00402d0c
push 5
pop eax
cmp ax, word [ebp - 0x5c]
jne 0x40210e
push dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
call fcn.00402ad6
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x46c3d8
mov byte [ebp - 4], 3
call fcn.0040846c
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00402d0c
push dword [ebp - 0x58]
call fcn.0043db5a
pop ecx
push ebx
lea eax, [ebp - 0x54]
push eax
push 4
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x60]
call esi
cmp dword [ebp - 0x54], 4
je 0x401ffc
jmp 0x401f73
mov eax, dword [ebp - 0x6c]
add eax, 8
push edi
mov dword [0x46c3b4], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
push 1
lea esi, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.TString.0
call fcn.00401464
xor eax, eax
inc eax
jmp 0x402185
push dword [ebp - 0x58]
call fcn.0043db5a
pop ecx
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
push 1
lea esi, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.TString.0
call fcn.00401464
xor eax, eax
call fcn.00441c2b
ret