Function at 0x442c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
je 0x442cb3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x442ca0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x18], cx
mov edx, eax
test eax, eax
je 0x442cc3
add ecx, 2
mov edx, ecx
mov esi, dword [esp + 0x3c]
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], eax
mov dword [esp], 0x40474645
mov word [esp + 4], 0
mov eax, 0xf3d9c9f1
mov ecx, 0xe
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax + 0xc26360f]
mov edx, ecx
xor edx, eax
and edx, edi
xor edx, eax
mov edi, edx
xor edi, 0xc340f1b6
and edx, 0x30990849
add edx, edx
sub edx, edi
mov ebx, edx
or ebx, 1
add ebx, edx
not edx
or edx, 1
add ebx, edx
inc bl
mov byte [esp + eax + 0xc26360f], bl
inc eax
dec ecx
cmp eax, 0xf3d9c9f7
jne 0x442cf0
mov ebx, dword [esp]
mov eax, dword [0x44da9c]
test eax, eax
je 0x442d8f
xor ecx, ecx
mov edx, dword [0x44daa0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc0a4c970
je 0x442d60
inc ecx
cmp eax, ecx
jne 0x442d50
jmp 0x442d8f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x442d8f
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 6
push eax
push dword [0x44daa4]
call fcn.0043e1f0
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x3c2c1e3
mov dword [esp + 4], 0
xor eax, eax
mov ecx, eax
add cl, 0xd0
xor cl, byte [esp + eax]
add cl, 0xf0
mov byte [esp + eax], cl
inc eax
cmp eax, 8
jne 0x442da0
cmp ebx, dword [esp]
jne 0x442f54
push dword [esp + 0xc]
call fcn.0043a170
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0x393a3b32
mov word [esp + 0x14], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
add cl, 0x8b
xor cl, byte [esp + edx + 0x10]
add cl, 0x49
mov byte [esp + edx + 0x10], cl
mov ecx, edx
and ecx, 1
xor edx, 1
lea edx, [edx + ecx*2]
cmp edx, 6
jb 0x442df0
mov edx, dword [esp + 0x10]
mov dword [esp], 0x40474645
mov word [esp + 4], 0
mov ebx, 0xf3d9c9f1
mov edi, 0xe
nop
nop
nop
nop
movzx ecx, byte [esp + ebx + 0xc26360f]
mov ebp, edi
xor ebp, ebx
and ebp, ecx
xor ebp, ebx
mov ecx, ebp
xor ecx, 0xc340f1b6
and ebp, 0x30990849
add ebp, ebp
sub ebp, ecx
mov ecx, ebp
or ecx, 1
add ecx, ebp
not ebp
or ebp, 1
add ecx, ebp
inc cl
mov byte [esp + ebx + 0xc26360f], cl
inc ebx
dec edi
cmp ebx, 0xf3d9c9f7
jne 0x442e30
mov ebx, dword [esp]
mov edi, dword [0x44da9c]
test edi, edi
je 0x442ed3
xor ebp, ebp
mov ecx, dword [0x44daa0]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebp*8], 0xc0a4c970
je 0x442ea0
inc ebp
cmp edi, ebp
jne 0x442e90
jmp 0x442ed3
mov ebp, dword [ecx + ebp*8 + 4]
cmp ebp, ebx
je 0x442ed3
lea ecx, [esp + 0xc]
lea edi, [esp + 0x18]
push ecx
push dword [esp + 0xc]
push eax
push edx
push edi
push dword [esp + 0x48]
push 6
push ebp
push dword [0x44daa4]
mov edi, eax
call fcn.0043e1f0
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
js 0x442f4b
test esi, esi
je 0x442ee0
mov ecx, dword [eax + 4]
mov dword [esi], ecx
cmp dword [esp + 0x44], 0
je 0x442f4b
mov esi, dword [esp + 0x40]
test esi, esi
je 0x442f42
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x442efe
mov edx, ecx
lea ebp, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, esi
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov ecx, edx
and ecx, 0xfffffffc
add esi, ecx
lea ebp, [eax + ecx]
add ebp, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 8], ebp
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test dl, 1
je 0x442f42
and edx, 2
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + edx]
mov byte [esi + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x44]
mov dword [edx], ecx
push eax
call fcn.0043a200
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret