Function at 0x4400f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x38]
test eax, eax
je 0x44013a
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x440110
sar ecx, 1
mov edx, ecx
and edx, 2
mov esi, ecx
or ecx, 2
imul ecx, edx
xor edx, 2
and esi, 0xfffd
imul esi, edx
add ecx, esi
jmp 0x44013c
xor ecx, ecx
mov word [esp + 0x18], cx
mov edx, eax
test eax, eax
je 0x44014c
add ecx, 2
mov edx, ecx
mov esi, dword [esp + 0x3c]
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], eax
mov dword [esp], 0x5c5d5e5f
mov dword [esp + 4], 0
mov eax, 0x9659fb90
nop
nop
nop
movzx ecx, byte [esp + eax + 0x69a60470]
xor ecx, eax
mov edx, ecx
not edx
or edx, 0x103e162f
add edx, ecx
inc edx
or ecx, 0x103e162f
mov edi, edx
and edi, ecx
xor ecx, edx
lea ecx, [ecx + edi*2]
inc cl
mov byte [esp + eax + 0x69a60470], cl
inc eax
cmp eax, 0x9659fb98
jne 0x440170
mov ebx, dword [esp]
mov eax, dword [0x44be30]
test eax, eax
je 0x4401ff
xor ecx, ecx
mov edx, dword [0x44be34]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x877f203a
je 0x4401d0
inc ecx
cmp eax, ecx
jne 0x4401c0
jmp 0x4401ff
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x4401ff
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 0x18
push eax
push dword [0x44be38]
call fcn.0043c860
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x37f6f987
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
movzx ecx, byte [esp + eax]
lea edx, [eax + 0xd6]
mov edi, 0xcc646229
sub edi, eax
xor edx, edi
and edx, ecx
xor edx, edi
mov edi, 0xfdf5ead0
sub edi, edx
mov ecx, edi
xor ecx, 0xfe
or edi, 1
and ecx, edi
add ecx, edi
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 5
jb 0x440210
cmp ebx, dword [esp]
jne 0x4403e4
push dword [esp + 0xc]
call fcn.0043a800
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0xf3f2f1f2
mov dword [esp + 0x14], 0
mov edi, 0xd3
mov ebx, 0x2c
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ebx - 0x1c]
mov ecx, ebx
or ecx, edx
or edx, edi
sub cl, dl
movzx ecx, cl
add ecx, edi
add cl, 0x24
mov byte [esp + ebx - 0x1c], cl
dec edi
inc ebx
cmp ebx, 0x34
jne 0x440290
mov edx, dword [esp + 0x10]
mov dword [esp], 0x5c5d5e5f
mov dword [esp + 4], 0
mov ebx, 0x9659fb90
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + ebx + 0x69a60470]
xor ecx, ebx
mov edi, ecx
not edi
or edi, 0x103e162f
add edi, ecx
inc edi
or ecx, 0x103e162f
mov ebp, edi
and ebp, ecx
xor ecx, edi
lea ecx, [ecx + ebp*2]
inc cl
mov byte [esp + ebx + 0x69a60470], cl
inc ebx
cmp ebx, 0x9659fb98
jne 0x4402d0
mov ebx, dword [esp]
mov ebp, dword [0x44be30]
test ebp, ebp
je 0x440363
xor edi, edi
mov ecx, dword [0x44be34]
nop
nop
nop
cmp dword [ecx + edi*8], 0x877f203a
je 0x440330
inc edi
cmp ebp, edi
jne 0x440320
jmp 0x440363
mov ebp, dword [ecx + edi*8 + 4]
cmp ebp, ebx
je 0x440363
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 0x18
push ebp
push dword [0x44be38]
mov edi, eax
call fcn.0043c860
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
js 0x4403db
test esi, esi
je 0x440370
mov ecx, dword [eax + 4]
mov dword [esi], ecx
cmp dword [esp + 0x44], 0
je 0x4403db
mov esi, dword [esp + 0x40]
test esi, esi
je 0x4403d2
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x44038e
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 0x4403d2
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.0043a8a0
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret