Function at 0x455c20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x86c]
mov ecx, 0x21b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4d8ed4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 8], 0
jne 0x455c5a
xor eax, eax
jmp 0x455e75
cmp dword [ebp + 0xc], 0
jne 0x455c67
xor eax, eax
jmp 0x455e75
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
push eax
push 1
push 1
lea ecx, [ebp - 0x5d]
push ecx
call fcn.004667c0
add esp, 0x10
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x24], 0
push 0x200
push 0
lea eax, [ebp - 0x274]
push eax
call fcn.0045ea40
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x10
push eax
call fcn.0045e9b0
add esp, 4
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x274]
push edx
call fcn.00462ff0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x79c]
push ecx
call fcn.00456850
add esp, 0xc
mov al, byte [ebp + 0x14]
mov byte [ebp - 0x51], al
mov dword [ebp - 0x3c], 0
jmp 0x455d00
mov eax, dword [ebp - 0x3c]
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x30]
jge 0x455df7
mov eax, dword [ebp + 8]
push eax
push 0x10
push 1
lea ecx, [ebp - 0x67c]
push ecx
call fcn.004667c0
add esp, 0x10
cmp eax, 0x10
je 0x455d78
mov esi, esp
push 0
push str.Error__
push str.fread_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.0045dfa0
push 0x400
push 0
lea eax, [ebp - 0x67c]
push eax
call fcn.0045ea40
add esp, 0xc
push 0x118
push 0
lea eax, [ebp - 0x79c]
push eax
call fcn.0045ea40
add esp, 0xc
xor eax, eax
jmp 0x455e75
lea eax, [ebp - 0x67c]
push eax
lea ecx, [ebp - 0x67c]
push ecx
push 0
lea edx, [ebp - 0x79c]
push edx
call fcn.00456bd0
add esp, 0x10
mov dword [ebp - 0x7a8], 0
jmp 0x455db2
mov eax, dword [ebp - 0x7a8]
add eax, 1
mov dword [ebp - 0x7a8], eax
cmp dword [ebp - 0x7a8], 0x10
jge 0x455df2
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x7a8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x7a8]
mov dl, byte [ebp + edx - 0x67c]
mov byte [ecx + eax], dl
movsx eax, byte [ebp - 0x51]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x7a8]
mov edx, dword [ebp + 0xc]
movsx ecx, byte [edx + ecx]
add eax, ecx
mov byte [ebp - 0x51], al
jmp 0x455da3
jmp 0x455cf7
mov eax, dword [ebp + 8]
push eax
push 1
push 1
lea ecx, [ebp - 0x69]
push ecx
call fcn.004667c0
add esp, 0x10
movsx eax, byte [ebp - 0x5d]
movsx ecx, byte [ebp - 0x69]
cmp eax, ecx
jne 0x455e23
movsx eax, byte [ebp - 0x5d]
movsx ecx, byte [ebp - 0x51]
cmp eax, ecx
je 0x455e70
mov esi, esp
push 0
push str.Error__
push str.CheckCrc_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.0045dfa0
push 0x400
push 0
lea eax, [ebp - 0x67c]
push eax
call fcn.0045ea40
add esp, 0xc
push 0x118
push 0
lea eax, [ebp - 0x79c]
push eax
call fcn.0045ea40
add esp, 0xc
xor eax, eax
jmp 0x455e75
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x455ea8]
call fcn.0045dfd0
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e500
add esp, 0x86c
cmp ebp, esp
call fcn.0045dfa0
mov esp, ebp
pop ebp
ret 0x10