Function at 0x42aee0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
push ebp
call fcn.0042b4a0
mov ecx, dword [esp + 0x40]
mov esi, eax
mov dword [ecx], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
call fcn.0042d550
mov dword [esp + 0x10], eax
push esi
mov eax, dword [esp + 0x34]
push eax
call fcn.0042a1a0
add esp, 8
cmp dword [esi], 0
jne 0x42af24
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
xor ebx, ebx
cmp dword [0x4633bc], ebx
jle 0x42af4d
xor edi, edi
mov ecx, dword [0x4633cc]
inc ebx
add ecx, edi
add edi, 4
mov eax, dword [ecx]
cdq
xor eax, edx
sub eax, edx
mov dword [ecx], eax
cmp ebx, dword [0x4633bc]
jl 0x42af30
cmp dword [0x4632b0], 0
je 0x42b008
mov ebx, dword [0x4633bc]
mov edi, dword [0x4633bc]
mov eax, dword [0x4633cc]
sub ebx, 3
sub edi, 2
mov ecx, dword [eax + edi*4]
cmp dword [eax + ebx*4], ecx
je 0x42afaa
push str._with_.kiss_option__third_to_last_and_second_n
push 0x45f820
call fcn.00444f00
add esp, 8
push str.to_last_variables_must_be_the_same_size._n
push 0x45f820
call fcn.00444f00
add esp, 8
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
xor ebp, ebp
test ecx, ecx
jle 0x42afe5
mov eax, dword [0x4633c4]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + ebx*4]
add eax, ebp
mov edx, dword [ecx + eax*4]
push edx
call fcn.0042bba0
add esp, 4
mov ecx, dword [0x4633c4]
mov edx, dword [ecx + edi*4]
mov ecx, dword [esi + 0x1c]
add edx, ebp
inc ebp
mov dword [ecx + edx*4], eax
mov eax, dword [0x4633cc]
cmp dword [eax + edi*4], ebp
jg 0x42afb0
mov edx, dword [0x4633cc]
mov ecx, dword [0x4633bc]
mov ebx, dword [edx + ecx*4 - 4]
add dword [edx + edi*4], ebx
dec dword [0x4633bc]
call fcn.00429540
call fcn.004290b0
cmp dword [0x4632c0], 0
je 0x42b028
lea eax, [esp + 0x14]
mov ecx, dword [esi]
mov edx, dword [esp + 0x10]
push eax
push ecx
push 0
push edx
call fcn.0042bb20
add esp, 0x10
call fcn.0042d550
cmp dword [0x4632c8], 0
mov ebx, eax
jne 0x42b044
cmp dword [esi + 0x14], 0
jne 0x42b044
cmp dword [esi + 0x24], 0
je 0x42b04b
mov edi, 1
jmp 0x42b04f
mov edi, dword [esp + 0x38]
test edi, edi
je 0x42b08c
mov eax, dword [esi + 0x10]
cmp eax, 1
je 0x42b060
cmp eax, 3
jne 0x42b08c
mov eax, dword [esi + 8]
push eax
call fcn.00428670
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
call fcn.00431e20
add esp, 8
push eax
call fcn.0042fe00
add esp, 4
mov dword [esi + 8], eax
jmp 0x42b119
cmp dword [esp + 0x34], 0
je 0x42b0e6
cmp dword [esi + 0x10], 5
jne 0x42b0e6
mov eax, dword [esi + 4]
push eax
call fcn.00428670
add esp, 4
mov eax, dword [0x4633bc]
dec eax
mov ecx, dword [esi + 8]
push eax
mov edx, dword [esi]
push ecx
push edx
call fcn.00428490
add esp, 8
push eax
call fcn.0042ee20
add esp, 8
mov ebp, eax
push ebp
call fcn.00431d90
add esp, 4
push eax
call fcn.0042fe00
add esp, 4
mov dword [esi + 4], eax
push ebp
call fcn.00428670
add esp, 4
jmp 0x42b119
mov eax, dword [esi + 0x10]
cmp eax, 4
je 0x42b0f3
cmp eax, 6
jne 0x42b119
mov eax, dword [esi]
push eax
call fcn.00428670
add esp, 4
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00431e20
add esp, 8
push eax
call fcn.0042fe00
add esp, 4
mov dword [esi], eax
cmp dword [0x4632c0], 0
je 0x42b136
lea eax, [esp + 0x14]
mov ecx, dword [esi + 8]
push eax
push ecx
push 1
push ebx
call fcn.0042bb20
add esp, 0x10
cmp dword [0x4632c8], 0
je 0x42b1a8
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov dword [esi], ecx
mov dword [esi + 8], eax
mov eax, 2
cmp dword [0x4633b8], 0x20
jle 0x42b163
mov eax, dword [0x4633b8]
dec eax
sar eax, 5
add eax, 2
shl eax, 2
mov ecx, dword [0x4633b8]
push ecx
push eax
call fcn.00429760
add esp, 4
push eax
call fcn.00427fc0
add esp, 8
mov dword [esi + 0x14], eax
mov ecx, dword [0x4633bc]
mov edx, dword [0x4633e0]
mov eax, dword [edx + ecx*4 - 4]
mov ecx, dword [0x4633e8]
push eax
mov edx, dword [esi + 0x14]
push ecx
push edx
call fcn.00428120
add esp, 0xc
jmp 0x42b1b7
cmp dword [esi + 0x14], 0
je 0x42b1b7
push esi
call fcn.00439960
add esp, 4
cmp dword [esi + 0x18], 0
je 0x42b1c6
push esi
call fcn.00436fe0
add esp, 4
cmp dword [esi + 0x20], 0
je 0x42b1fd
call fcn.0042d550
mov ebx, eax
push esi
call fcn.0042e470
add esp, 4
cmp dword [0x4632c0], 0
je 0x42b1fd
call fcn.0042d550
sub eax, ebx
mov ecx, dword [esi]
push eax
push str.MAP_INPUT
push ecx
call fcn.0042bae0
add esp, 0xc
cmp dword [esi + 0x24], 0
je 0x42b277
call fcn.0042d550
mov ebx, eax
push esi
call fcn.0042dfd0
add esp, 4
cmp dword [0x4632c0], 0
je 0x42b234
call fcn.0042d550
sub eax, ebx
mov ecx, dword [esi]
push eax
push str.MAP_OUTPUT
push ecx
call fcn.0042bae0
add esp, 0xc
test edi, edi
je 0x42b277
mov eax, dword [esi + 8]
push eax
call fcn.00428670
add esp, 4
call fcn.0042d550
mov edi, eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push eax
push ecx
call fcn.00431e20
add esp, 8
push eax
call fcn.0042fe00
lea ecx, [esp + 0x18]
add esp, 4
mov dword [esi + 8], eax
push ecx
push eax
push 1
push edi
call fcn.0042bb20
add esp, 0x10
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret