Function at 0x43c8f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
push ebp
push esi
mov esi, dword [esp + 0x2c]
mov ebp, ecx
cmp eax, esi
jne 0x43c90d
mov eax, esi
pop esi
pop ebp
add esp, 0x1c
ret 8
cmp dword [eax + 0x1c], 0x10
lea edx, [eax + 8]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0xc]
push edi
mov dword [esp + 0x18], ecx
mov edi, eax
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x10]
mov dword [esp + 0xc], ecx
jb 0x43c933
mov edx, dword [edx]
xor ecx, ecx
push ebx
mov ebx, 0x811c9dc5
test eax, eax
je 0x43c956
mov esi, eax
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, esi
jb 0x43c941
mov esi, dword [esp + 0x34]
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x1c]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
mov ebx, edi
mov dword [esp + 0x28], edi
mov edi, dword [edi]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x43c9af
mov eax, dword [ebx + 8]
inc ecx
cmp ecx, 0x1000
jb 0x43c9a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cb17
mov eax, edx
push ecx
push eax
call fcn.0049dbeb
add esp, 8
push 0x24
push ebx
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
call fcn.0049dbeb
dec dword [ebp + 8]
add esp, 8
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x28], eax
je 0x43ca02
cmp edi, esi
jne 0x43c973
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x30]
jne 0x43c9ed
mov ecx, dword [esp + 0x14]
mov dword [ecx], edi
mov eax, dword [esp + 0x10]
pop ebx
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, dword [esp + 0x30]
jne 0x43ca18
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
jmp 0x43ca1c
mov eax, dword [esp + 0x10]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x43c9ed
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
jb 0x43ca31
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x43ca51
lea esp, [esp]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x43ca40
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x1c]
and eax, esi
lea eax, [ecx + eax*8]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
mov esi, edi
mov ebx, edi
mov edi, dword [edi]
mov ecx, dword [esi + 0x1c]
cmp ecx, 0x10
jb 0x43caa2
mov eax, dword [esi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x43ca98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cb17
mov eax, edx
push ecx
push eax
call fcn.0049dbeb
add esp, 8
push 0x24
push esi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
call fcn.0049dbeb
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x28]
je 0x43cae9
mov eax, dword [esp + 0x34]
cmp edi, eax
jne 0x43ca68
mov ecx, dword [esp + 0x30]
pop ebx
mov dword [ecx], edi
mov ecx, dword [esp + 0xc]
mov dword [ecx], edi
mov dword [edi + 4], ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
mov dword [ecx], eax
mov dword [ecx + 4], eax
cmp edi, esi
jne 0x43ca23
mov eax, dword [esp + 0x10]
pop ebx
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 8
call fcn.004cb586
int3