Function at 0x40c070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
call fcn.00418520
add eax, 0x1e
and eax, 0xfffffff0
call fcn.00422c50
lea edi, [esp + 0x1b]
and edi, 0xfffffff0
mov dword [esp], edi
call fcn.00418530
mov dword [esp], ebx
call sub.cygwin1.dll_strlen
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 8], edi
call fcn.00418540
mov dword [esp], esi
call sub.cygwin1.dll_strlen
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.00418540
mov dword [esp], edi
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
call fcn.00418560
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
xor eax, ecx
mov dword [ebp - 0x24], eax
xor edx, ebx
lea ebx, [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
dec dword [ebp + 8]
mov dword [ebp - 0x28], edx
test eax, eax
mov dword [ebp - 0x40], edx
jle 0x40c164
mov esi, ebx
nop
lea esi, [esi]
mov dword [esp], edi
call fcn.00418530
mov dword [esp], ebx
mov eax, 8
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.00418540
mov dword [esp], edi
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
call fcn.00418560
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
xor eax, ebx
mov ebx, esi
mov dword [ebp - 0x28], eax
xor edx, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
dec dword [ebp + 8]
mov dword [ebp - 0x24], edx
test eax, eax
mov dword [ebp - 0x3c], edx
jg 0x40c110
cld
xor eax, eax
mov byte [0x430120], 0
mov ecx, 2
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov word [edi], 0
xor esi, esi
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 4]
xor ebx, ebx
mov dword [ebp - 0x34], eax
lea esi, [esi]
mov dword [esp], 2
mov edx, ebx
lea eax, [ebp - 0x38]
call fcn.0040bff0
add ebx, 2
add esi, eax
cmp ebx, 0x3f
jle 0x40c190
mov dword [esp], 0xb
mov eax, esi
xor edx, edx
shl al, 6
mov byte [ebp - 0x30], al
lea eax, [ebp - 0x38]
call fcn.0040bff0
mov eax, dword [eax*4 + 0x424110]
mov dword [0x430120], eax
mov eax, 0x430121
cmp byte [0x430121], 0
je 0x40c1ff
cmp byte [0x430122], 0
mov eax, 0x430122
je 0x40c1ff
cmp byte [0x430123], 0
mov eax, 0x430123
je 0x40c1ff
mov eax, 0x430124
mov byte [eax], 0x20
mov ebx, eax
mov edx, 0xb
mov dword [esp], 0xb
lea eax, [ebp - 0x38]
inc ebx
call fcn.0040bff0
mov eax, dword [eax*4 + 0x424110]
mov dword [ebx], eax
lea eax, [ebx + 1]
cmp byte [ebx + 1], 0
je 0x40c240
cmp byte [ebx + 2], 0
lea eax, [ebx + 2]
je 0x40c240
cmp byte [ebx + 3], 0
lea eax, [ebx + 3]
je 0x40c240
lea eax, [ebx + 4]
mov byte [eax], 0x20
mov ebx, eax
mov edx, 0x16
mov dword [esp], 0xb
lea eax, [ebp - 0x38]
inc ebx
call fcn.0040bff0
mov eax, dword [eax*4 + 0x424110]
mov dword [ebx], eax
lea eax, [ebx + 1]
cmp byte [ebx + 1], 0
je 0x40c281
cmp byte [ebx + 2], 0
lea eax, [ebx + 2]
je 0x40c281
cmp byte [ebx + 3], 0
lea eax, [ebx + 3]
je 0x40c281
lea eax, [ebx + 4]
mov byte [eax], 0x20
mov ebx, eax
mov edx, 0x21
mov dword [esp], 0xb
lea eax, [ebp - 0x38]
inc ebx
call fcn.0040bff0
mov eax, dword [eax*4 + 0x424110]
mov dword [ebx], eax
lea eax, [ebx + 1]
cmp byte [ebx + 1], 0
je 0x40c2c2
cmp byte [ebx + 2], 0
lea eax, [ebx + 2]
je 0x40c2c2
cmp byte [ebx + 3], 0
lea eax, [ebx + 3]
je 0x40c2c2
lea eax, [ebx + 4]
mov byte [eax], 0x20
mov ebx, eax
mov edx, 0x2c
mov dword [esp], 0xb
lea eax, [ebp - 0x38]
inc ebx
call fcn.0040bff0
mov eax, dword [eax*4 + 0x424110]
mov dword [ebx], eax
lea eax, [ebx + 1]
cmp byte [ebx + 1], 0
je 0x40c303
cmp byte [ebx + 2], 0
lea eax, [ebx + 2]
je 0x40c303
cmp byte [ebx + 3], 0
lea eax, [ebx + 3]
je 0x40c303
lea eax, [ebx + 4]
mov byte [eax], 0x20
mov ebx, eax
mov edx, 0x37
mov dword [esp], 0xb
lea eax, [ebp - 0x38]
inc ebx
call fcn.0040bff0
mov eax, dword [eax*4 + 0x424110]
mov byte [ebx + 4], 0
mov dword [ebx], eax
mov edx, dword [0x438b14]
test edx, edx
jne 0x40c341
lea esp, [ebp - 0xc]
mov eax, 0x430120
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.wrote___s_to_STORE_n
mov eax, 0x430120
mov dword [esp + 4], eax
call fcn.004174e0
jmp 0x40c334