Function at 0x43c2b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x43c2d0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x20], cx
add ecx, 2
mov word [esp + 0x22], cx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0x12111017
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x43c361
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx edx, byte [esp + ecx + 0x10]
lea ecx, [eax - 0x6b09927d]
mov esi, ecx
and esi, edx
xor ecx, edx
add eax, 0x83
and eax, edx
add eax, esi
sub ecx, eax
lea eax, [ecx + esi*2]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x6b
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x43c320
mov esi, dword [esp + 0x10]
mov eax, dword [0x44adec]
test eax, eax
je 0x43c3c8
xor ecx, ecx
mov edx, dword [0x44adf0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x36e97270
je 0x43c39a
mov edi, ecx
and edi, 1
xor ecx, 1
lea ecx, [ecx + edi*2]
cmp ecx, eax
jb 0x43c380
jmp 0x43c3c8
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43c3c8
lea ecx, [esp + 8]
lea edx, [esp + 0x20]
push ecx
push 0
push 0
push 2
push edx
push dword [ebp + 8]
push 6
push dword [0x44adf4]
push eax
call fcn.00438160
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43c52f
push dword [esp + 8]
call fcn.004360c0
add esp, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0x12111017
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 8
ja 0x43c453
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx esi, byte [esp + edx + 0x10]
lea edx, [ecx - 0x6b09927d]
mov edi, edx
and edi, esi
xor edx, esi
add ecx, 0x83
and ecx, esi
add ecx, edi
sub edx, ecx
lea ecx, [edx + edi*2]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x6b
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 9
jb 0x43c410
mov esi, dword [esp + 0x10]
mov ecx, dword [0x44adec]
test ecx, ecx
je 0x43c482
xor edx, edx
mov edi, dword [0x44adf0]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x36e97270
je 0x43c539
inc edx
cmp ecx, edx
jne 0x43c470
mov edi, dword [esp + 4]
test esi, esi
mov ecx, dword [ebp + 0x14]
js 0x43c526
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x43c49d
mov eax, dword [edi + 4]
mov dword [edx], eax
test ebx, ebx
je 0x43c526
test ecx, ecx
je 0x43c521
mov eax, dword [ebx]
mov ecx, dword [edi + 8]
cmp eax, ecx
jb 0x43c4b4
mov eax, ecx
lea edx, [edi + 0xc]
mov ecx, eax
shr ecx, 2
mov ebx, dword [ebp + 0x14]
mov edi, ebx
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
and ecx, 0xfffffffc
add ebx, ecx
mov edx, dword [esp + 4]
lea edi, [edx + ecx]
add edi, 0xc
mov edx, eax
and edx, 3
mov ecx, edx
shr ecx, 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov edi, ebx
mov ebx, dword [esp + 0x30]
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov edi, dword [esp + 4]
test al, 1
mov ebx, dword [ebp + 0x18]
je 0x43c521
mov ecx, eax
and ecx, 2
not eax
or eax, 0xfffffffe
add edx, eax
mov eax, dword [esp + 0x28]
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x2c]
mov byte [ecx + edx + 1], al
mov eax, dword [edi + 8]
mov dword [ebx], eax
push edi
call fcn.00436180
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
mov edi, dword [esp + 4]
je 0x43c486
lea edx, [esp + 8]
lea esi, [esp + 0x20]
push edx
push eax
push edi
push 2
push esi
push dword [ebp + 8]
push 6
push dword [0x44adf4]
push ecx
call fcn.00438160
add esp, 0x24
mov esi, eax
jmp 0x43c486