Function at 0x42ae5a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [ebp + 4]
xor eax, dword [0x66d060]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 8]
add eax, 0x5c
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x42aeaa
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + 4]
xor eax, dword [ebp - 0x28]
mov ecx, eax
call fcn.0055337c
xor eax, eax
leave
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc4]
test eax, eax
jle 0x42aecf
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp + 8]
add eax, 0xc0
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x14]
add eax, 0x13
mov edx, 0x14
mov dword [ebp - 4], edx
xor edx, edx
mov ecx, dword [ebp - 4]
div ecx
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xd0]
test eax, eax
jbe 0x42af68
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xd0]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xcc]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
cmp eax, 0x14
jge 0x42af7b
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x80]
movzx eax, byte [edx + eax]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x80]
movzx edx, byte [ecx + edx]
xor eax, edx
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
mov byte [ecx + edx], al
inc dword [ebp - 0x80]
mov eax, dword [ebp - 0x80]
cmp eax, 0x14
jl 0x42af36
jmp 0x42af7b
mov dword [ebp - 0x88], 0x14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x88]
add eax, 0xffffffeb
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x94]
cmp eax, edx
jge 0x42b113
add esp, 0xffffffec
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x84]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x74]
mov dword [esp + 0x10], eax
call fcn.004408e8
add esp, 0x14
mov eax, dword [ebp - 0x8c]
cmp eax, 0x14
jb 0x42b001
mov dword [ebp - 0x24], 0x14
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x60]
cmp eax, edx
jl 0x42b00c
jmp 0x42b02d
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x24], eax
jmp 0x42afe8
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x80]
movzx eax, byte [ebp + eax - 0x74]
mov byte [ecx + edx], al
inc dword [ebp - 0x80]
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x60]
cmp eax, edx
jl 0x42b00c
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x58], 0x14
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
cmp eax, edx
jle 0x42b09a
dec dword [ebp - 0x58]
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x80]
movzx eax, byte [edx + eax]
movzx eax, al
mov edx, dword [ebp - 0x58]
movzx edx, byte [ebp + edx - 0x74]
movzx edx, dl
add eax, edx
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x54]
shr eax, 8
mov dword [ebp - 0x5c], eax
dec dword [ebp - 0x80]
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
cmp eax, edx
jg 0x42b04f
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
test eax, eax
jl 0x42b0df
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x80]
movzx eax, byte [edx + eax]
movzx eax, al
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x54]
shr eax, 8
mov dword [ebp - 0x5c], eax
dec dword [ebp - 0x80]
mov eax, dword [ebp - 0x80]
test eax, eax
jge 0x42b0a7
mov eax, dword [ebp - 0x60]
neg eax
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x90]
add eax, 0x14
mov dword [ebp - 0x90], eax
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x94]
cmp eax, edx
jl 0x42af9f
mov eax, dword [ebp - 0xa0]
cmp eax, 1
jne 0x42b2b0
push edi
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0043f3dc
pop ecx
push edi
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.0043f3dc
pop ecx
push edi
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.0043f3dc
pop ecx
add esp, 0xfffffff4
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea eax, [ebp - 0x50]
mov dword [esp + 8], eax
call fcn.0043f738
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x42b289
add esp, 0xfffffff8
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.0043ff84
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42b289
add esp, 0xfffffff8
mov dword [esp], 1
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.0044061e
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42b289
add esp, 0xfffffff4
lea eax, [ebp - 0x50]
mov dword [esp], eax
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
lea eax, [ebp - 0x44]
mov dword [esp + 8], eax
call fcn.0043d708
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42b289
add esp, 0xfffffff8
mov dword [esp], 1
lea eax, [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.00440296
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x42b289
add esp, 0xffffffec
lea eax, [ebp - 0x44]
mov dword [esp], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0043f902
add esp, 0x14
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x42b289
xor eax, eax
test eax, eax
jne 0x42b149
push edi
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0043f3f4
pop ecx
push edi
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.0043f3f4
pop ecx
push edi
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.0043f3f4
pop ecx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + 4]
xor eax, dword [ebp - 0x28]
mov ecx, eax
call fcn.0055337c
mov eax, dword [ebp - 8]
leave
ret