Function at 0x4640c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 8]
push eax
push 0xa0
push 1
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa0
je 0x4640f4
mov eax, 0xffffffe7
jmp 0x464338
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
cmp eax, dword [0x4ea404]
jne 0x46410c
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
jmp 0x464336
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, 3
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 9], dl
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp - 9]
mov byte [ecx], dl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 9], dl
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp - 9]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
cmp eax, dword [0x4ea404]
je 0x464178
mov eax, 0xffffffe5
jmp 0x464338
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
add eax, 3
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x15]
mov byte [ecx], dl
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x1c]
mov cl, byte [ebp - 0x15]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add eax, 3
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dl, byte [ecx]
mov byte [ebp - 0x21], dl
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x28]
mov dl, byte [ebp - 0x21]
mov byte [ecx], dl
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x20]
mov dl, byte [ecx]
mov byte [ebp - 0x21], dl
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x28]
mov cl, byte [ebp - 0x21]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
add eax, 3
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx]
mov byte [ebp - 0x2d], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x34]
mov dl, byte [ebp - 0x2d]
mov byte [ecx], dl
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx]
mov byte [ebp - 0x2d], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x34]
mov cl, byte [ebp - 0x2d]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
add edx, 0xc
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
add eax, 3
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dl, byte [ecx]
mov byte [ebp - 0x39], dl
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x40]
mov dl, byte [ebp - 0x39]
mov byte [ecx], dl
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x38]
mov dl, byte [ecx]
mov byte [ebp - 0x39], dl
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x40]
mov cl, byte [ebp - 0x39]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
add edx, 0x14
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
add eax, 3
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dl, byte [ecx]
mov byte [ebp - 0x45], dl
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x44]
sub eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x4c]
mov dl, byte [ebp - 0x45]
mov byte [ecx], dl
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x44]
mov dl, byte [ecx]
mov byte [ebp - 0x45], dl
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x4c]
mov cl, byte [ebp - 0x45]
mov byte [eax], cl
xor eax, eax
mov esp, ebp
pop ebp
ret