Function at 0x43a630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 0x1c], ecx
cmp dword [ecx + 4], 0
je 0x43a6e3
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x43a6e3
mov dword [esp + 4], 0xbdbcbfbe
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x43a6ae
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
add eax, 0x5b20f734
xor eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x75
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x43a680
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 4]
mov edi, dword [0x449d34]
test edi, edi
je 0x43a759
xor esi, esi
mov edx, dword [0x449d38]
nop
nop
cmp dword [edx + esi*8], 0xc766965c
je 0x43a739
inc esi
cmp edi, esi
jne 0x43a6d0
mov esi, dword [ebp + 0x10]
jmp 0x43a759
mov dword [esp], 0x60a1a29b
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 3
ja 0x43a731
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx]
add eax, 0xd92453b8
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0xe5
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 4
jb 0x43a700
mov eax, dword [esp]
jmp 0x43a882
mov edx, dword [edx + esi*8 + 4]
cmp edx, eax
mov esi, dword [ebp + 0x10]
je 0x43a759
push dword [ebp + 8]
push ecx
push 2
push dword [0x449d3c]
push edx
call fcn.0043c4a0
add esp, 0x14
cmp ebx, 1
mov ecx, esi
sbb ecx, 0
jl 0x43a871
cmp eax, 0xc000010a
jne 0x43a871
mov edi, esi
mov esi, ebx
and esi, 0xffffd8f0
mov eax, esi
xor eax, 0xffffd8f0
mov ecx, edi
not ecx
mov edx, ebx
and edx, 0x270f
imul ecx, edx
mul edx
mov dword [esp + 0x20], eax
add edx, ecx
mov ecx, edx
or ebx, 0xffffd8f0
imul edi, ebx
mov eax, ebx
mul esi
add edx, edi
sub edx, esi
add eax, dword [esp + 0x20]
adc edx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov dword [esp + 4], 0xbdbcbfbe
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 6
ja 0x43a821
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [esp + ecx + 4]
add eax, 0x5b20f734
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0x75
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 4], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 7
jb 0x43a7f0
mov eax, dword [esp + 4]
mov esi, dword [0x449d34]
test esi, esi
je 0x43a871
xor edi, edi
mov ecx, dword [0x449d38]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x7e28bda7
je 0x43a850
inc edi
cmp esi, edi
jne 0x43a840
jmp 0x43a871
mov ecx, dword [ecx + edi*8 + 4]
cmp ecx, eax
je 0x43a871
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 3
push dword [0x449d3c]
push ecx
call fcn.0043c4a0
add esp, 0x18
test eax, eax
js 0x43a882
mov ecx, dword [esp + 0x1c]
mov esi, eax
call fcn.0043a550
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc