Function at 0x443950
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 0x44399a
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 0x443970
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 0x44399c
xor ecx, ecx
mov word [esp + 0x14], cx
mov edx, eax
test eax, eax
je 0x4439ac
add ecx, 2
mov edx, ecx
mov esi, dword [esp + 0x40]
mov word [esp + 0x16], dx
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0x484b4a4d
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x13
xor cl, byte [esp + eax + 4]
add cl, 0xa1
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 4
jne 0x4439d0
mov ebx, dword [esp + 4]
mov eax, dword [0x44f2b4]
test eax, eax
je 0x443a3f
xor ecx, ecx
mov edx, dword [0x44f2b8]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x877f203a
je 0x443a10
inc ecx
cmp eax, ecx
jne 0x443a00
jmp 0x443a3f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x443a3f
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 0x18
push eax
push dword [0x44f2bc]
call fcn.00440360
add esp, 0x24
mov ebx, eax
mov dword [esp + 4], 0x11cecfe9
mov byte [esp + 8], 0
xor eax, eax
nop
nop
mov ecx, eax
add cl, 0xcd
xor cl, byte [esp + eax + 4]
dec cl
mov byte [esp + eax + 4], cl
lea ecx, [eax + eax]
and ecx, 2
mov edx, ecx
and edx, eax
or ecx, eax
xor ecx, 1
add ecx, edx
mov eax, ecx
cmp ecx, 5
jb 0x443a50
cmp ebx, dword [esp + 4]
jne 0x443bed
push dword [esp + 0xc]
call fcn.0043d520
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], 0x93929192
mov byte [esp + 8], 0
mov edx, 0xdc35485c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx + 0x23cab7a8]
xor eax, edx
mov edi, 0xcc
sub edi, eax
not eax
and eax, 1
or edi, 1
sub eax, edi
mov byte [esp + edx + 0x23cab7a8], al
inc edx
cmp edx, 0xdc354861
jne 0x443ab0
mov edx, dword [esp + 4]
mov dword [esp + 0x10], 0x484b4a4d
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
add al, 0x13
xor al, byte [esp + ebx + 0x10]
add al, 0xa1
mov byte [esp + ebx + 0x10], al
inc ebx
cmp ebx, 4
jne 0x443af0
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x44f2b4]
test ebp, ebp
je 0x443b60
xor eax, eax
mov edi, dword [0x44f2b8]
nop
nop
nop
nop
nop
nop
cmp dword [edi + eax*8], 0x877f203a
je 0x443b30
inc eax
cmp ebp, eax
jne 0x443b20
jmp 0x443b60
mov ebp, dword [edi + eax*8 + 4]
cmp ebp, ebx
je 0x443b60
lea eax, [esp + 0xc]
lea edi, [esp + 0x14]
push eax
push ecx
mov eax, dword [esp + 8]
push eax
push edx
push edi
push dword [esp + 0x48]
push 0x18
push ebp
push dword [0x44f2bc]
call fcn.00440360
add esp, 0x24
mov ebx, eax
test ebx, ebx
mov ecx, dword [esp + 0x44]
js 0x443be2
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x443b78
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov dword [edx], eax
test ecx, ecx
je 0x443be2
mov eax, esi
test esi, esi
je 0x443bda
mov eax, dword [ecx]
mov ecx, dword [esp]
mov ecx, dword [ecx + 8]
cmp eax, ecx
jb 0x443b90
mov eax, ecx
mov ebp, dword [esp]
lea edx, [ebp + 0xc]
mov ecx, eax
shr ecx, 2
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
and ecx, 0xfffffffc
add esi, ecx
add ebp, ecx
add ebp, 0xc
mov edx, eax
and edx, 3
mov ecx, edx
shr ecx, 1
mov dword [esp + 0x1c], ebp
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test al, 1
mov ecx, dword [esp + 0x44]
je 0x443bda
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + edx - 1]
mov byte [esi + edx - 1], al
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov dword [ecx], eax
push dword [esp]
call fcn.0043d640
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret