Function at 0x42ddc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
lea edi, [ebp - 0x28]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x50beb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov byte [ebp - 0x21], 0
mov dword [ebp - 0x28], 0
push 0x4fca44
mov ecx, dword [str.cu.dat]
push ecx
call fcn.004943f0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42de2c
push str.The_file_cu.dat_was_not_opened_n
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x42dfc6
push 0xd
push 0
lea edx, [ebp - 0x1c]
push edx
call fcn.00493230
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
push 1
push 0xd
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00494bc0
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
je 0x42de7a
push str.the_len_of_CU_is_not_enough__n
call fcn.0048c1d0
add esp, 4
mov edx, dword [ebp - 8]
push edx
call fcn.00493af0
add esp, 4
or eax, 0xffffffff
jmp 0x42dfc6
movzx eax, byte [ebp - 0x21]
mov cl, byte [ebp + eax - 0x1c]
mov byte [0x4fc953], cl
mov dl, byte [ebp - 0x21]
add dl, 1
mov byte [ebp - 0x21], dl
movzx eax, byte [ebp - 0x21]
mov cl, byte [ebp + eax - 0x1c]
mov byte [0x4fc958], cl
mov dl, byte [ebp - 0x21]
add dl, 1
mov byte [ebp - 0x21], dl
movzx eax, byte [ebp - 0x21]
movzx cx, byte [ebp + eax - 0x1c]
mov word [0x4fc95c], cx
mov dl, byte [ebp - 0x21]
add dl, 1
mov byte [ebp - 0x21], dl
movzx eax, byte [ebp - 0x21]
movzx ecx, byte [ebp + eax - 0x1c]
shl ecx, 8
movzx edx, word [0x4fc95c]
add edx, ecx
mov word [0x4fc95c], dx
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [ebp + ecx - 0x1c]
mov byte [0x50f24c], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [ebp + ecx - 0x1c]
mov byte [0x4fc95f], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [ebp + ecx - 0x1c]
mov byte [0x4fc964], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [ebp + ecx - 0x1c]
mov byte [0x4fc965], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [ebp + ecx - 0x1c]
mov byte [0x50f252], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [ebp + ecx - 0x1c]
mov byte [0x50f253], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [ebp + ecx - 0x1c]
mov byte [0x4f6f79], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [ebp + ecx - 0x1c]
mov byte [0x4fc95b], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
mov cl, byte [0x4fc95b]
mov byte [0x4fc95e], cl
movzx edx, byte [ebp - 0x21]
mov al, byte [ebp + edx - 0x1c]
mov byte [0x50f251], al
mov cl, byte [ebp - 0x21]
add cl, 1
mov byte [ebp - 0x21], cl
mov edx, dword [ebp - 8]
push edx
call fcn.00493af0
add esp, 4
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x42dff0]
call fcn.00492460
pop eax
pop edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004932b0
add esp, 0x28
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret