Function at 0x43fc40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
xor ecx, ecx
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 0x43fc60
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x18], cx
add ecx, 2
mov word [esp + 0x1a], cx
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x6c6d6e6f
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x43fcf1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
lea edx, [eax + 0x1cba790]
lea esi, [eax + ecx]
add esi, 0x1cba790
add eax, 0x90
or eax, edx
and eax, ecx
add eax, eax
sub esi, eax
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x43fcb0
mov ebx, dword [esp + 4]
mov eax, dword [0x449d78]
test eax, eax
je 0x43fd4f
xor ecx, ecx
mov edx, dword [0x449d7c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xf81c0144
je 0x43fd20
inc ecx
cmp eax, ecx
jne 0x43fd10
jmp 0x43fd4f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43fd4f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x4c]
push 6
push dword [0x449d80]
push eax
call fcn.0043c880
add esp, 0x24
mov ebx, eax
mov dword [esp + 4], 0xedacab89
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x43fd9e
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0x2c2d0ea
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xc0
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x43fd70
cmp ebx, dword [esp + 4]
jne 0x43ff48
push dword [esp + 0x14]
call fcn.0043a8a0
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], 0x6c6d6e6f
mov word [esp + 8], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 5
ja 0x43fe22
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 4]
lea ebx, [edx + 0x1cba790]
lea ebp, [edx + esi]
add ebp, 0x1cba790
add edx, 0x90
or edx, ebx
and edx, esi
add edx, edx
sub ebp, edx
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x10]
mov esi, dword [esp]
mov byte [esp + esi + 4], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 6
jb 0x43fde0
mov ebx, dword [esp + 4]
mov edx, dword [0x449d78]
test edx, edx
je 0x43fe82
xor esi, esi
mov ebp, dword [0x449d7c]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + esi*8], 0xf81c0144
je 0x43fe51
inc esi
cmp edx, esi
jne 0x43fe40
jmp 0x43fe82
mov edx, dword [ebp + esi*8 + 4]
cmp edx, ebx
je 0x43fe82
lea esi, [esp + 0x14]
lea ebx, [esp + 0x18]
push esi
push ecx
mov eax, dword [esp + 0x14]
push eax
push 2
push ebx
push dword [esp + 0x4c]
push 6
push dword [0x449d80]
push edx
call fcn.0043c880
add esp, 0x24
mov ebx, eax
test ebx, ebx
mov ebp, dword [esp + 0x48]
js 0x43ff3c
test edi, edi
je 0x43fe9b
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov dword [edi], ecx
test ebp, ebp
je 0x43ff3c
cmp dword [esp + 0x44], 0
je 0x43ff32
mov esi, dword [ebp]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
cmp esi, ecx
jb 0x43febe
mov esi, ecx
mov ebp, dword [esp + 0xc]
lea edx, [ebp + 0xc]
mov ecx, esi
shr ecx, 2
mov eax, dword [esp + 0x44]
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, esi
and ecx, 0xfffffffc
add eax, ecx
add ebp, ecx
add ebp, 0xc
mov dword [esp + 0x20], ebp
mov edx, esi
and edx, 3
mov ecx, edx
shr ecx, 1
mov edi, eax
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov edi, dword [esp + 0x20]
mov ecx, edx
or ecx, 1
xor edx, 0xfffffffe
and edx, ecx
mov ebp, dword [esp + 0x48]
je 0x43ff32
and esi, 2
movzx ecx, byte [edi + esi]
mov byte [eax + esi], cl
cmp edx, 1
je 0x43ff32
movzx ecx, byte [edi + esi + 1]
mov byte [eax + esi + 1], cl
cmp edx, 2
je 0x43ff32
movzx ecx, byte [edi + esi + 2]
mov byte [eax + esi + 2], cl
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp], ecx
push dword [esp + 0xc]
call fcn.0043a910
add esp, 4
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret