Function at 0x42db90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, 0xcccccccc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x50beb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
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
push 0x4fca1c
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 0x42dc0c
push 0x4fca20
call fcn.0048c1d0
add esp, 4
or eax, 0xffffffff
jmp 0x42dd7a
movzx edx, byte [ebp - 0x21]
mov al, byte [0x4fc953]
mov byte [ebp + edx - 0x1c], al
mov cl, byte [ebp - 0x21]
add cl, 1
mov byte [ebp - 0x21], cl
movzx edx, byte [ebp - 0x21]
mov al, byte [0x4fc958]
mov byte [ebp + edx - 0x1c], al
mov cl, byte [ebp - 0x21]
add cl, 1
mov byte [ebp - 0x21], cl
movzx edx, word [0x4fc95c]
and edx, 0x800000ff
jns 0x42dc4f
dec edx
or edx, 0xffffff00
inc edx
movzx eax, byte [ebp - 0x21]
mov byte [ebp + eax - 0x1c], dl
mov cl, byte [ebp - 0x21]
add cl, 1
mov byte [ebp - 0x21], cl
movzx eax, word [0x4fc95c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
movzx edx, byte [ebp - 0x21]
mov byte [ebp + edx - 0x1c], al
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [0x50f24c]
mov byte [ebp + ecx - 0x1c], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [0x4fc95f]
mov byte [ebp + ecx - 0x1c], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [0x4fc964]
mov byte [ebp + ecx - 0x1c], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [0x4fc965]
mov byte [ebp + ecx - 0x1c], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [0x50f252]
mov byte [ebp + ecx - 0x1c], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [0x50f253]
mov byte [ebp + ecx - 0x1c], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [0x4f6f79]
mov byte [ebp + ecx - 0x1c], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [0x4fc95e]
mov byte [ebp + ecx - 0x1c], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
mov dl, byte [0x50f251]
mov byte [ebp + ecx - 0x1c], dl
mov al, byte [ebp - 0x21]
add al, 1
mov byte [ebp - 0x21], al
mov ecx, dword [ebp - 8]
push ecx
push 1
push 0xd
lea edx, [ebp - 0x1c]
push edx
call fcn.00493d00
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.00493af0
add esp, 4
mov ecx, dword [str.cu.dat]
push ecx
call fcn.004307b0
add esp, 4
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x42dda4]
call fcn.00492460
pop eax
pop edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004932b0
add esp, 0x24
cmp ebp, esp
call fcn.00492430
mov esp, ebp
pop ebp
ret