Function at 0x43da00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ecx + 8], 0
je 0x43daba
mov edx, dword [ecx]
test edx, edx
je 0x43daba
mov dword [esp + 4], 0x909f9e9d
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x43da79
nop
nop
mov eax, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 4]
mov edi, eax
xor edi, 0xe45132a5
and eax, 0xe45132a5
lea eax, [edi + eax*2]
xor eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xc7
mov esi, dword [esp]
mov byte [esp + esi + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x43da40
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 4]
mov ebx, dword [0x4506dc]
test ebx, ebx
je 0x43db5c
xor edi, edi
mov esi, dword [0x4506e0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0xc766965c
je 0x43db38
inc edi
cmp ebx, edi
jne 0x43daa0
mov edi, dword [ebp + 0x10]
jmp 0x43db5c
mov dword [esp + 4], 0x591a1b14
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x43db2f
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
mov edx, ecx
xor edx, 0x53433fb
add ecx, ecx
and ecx, 0xa6867f6
mov esi, ecx
and esi, edx
xor ecx, edx
lea ecx, [ecx + esi*2]
xor ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov ecx, eax
not ecx
and ecx, 0xe7
and eax, 0x18
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x43dae0
mov eax, dword [esp + 4]
jmp 0x43dc62
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, dword [ebp + 0x10]
je 0x43db5c
push dword [ebp + 8]
push edx
push 2
push dword [0x4506e4]
push esi
mov esi, ecx
call fcn.00440260
mov ecx, esi
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov edx, edi
sbb edx, 0
jl 0x43dc55
cmp eax, 0xc000010a
jne 0x43dc55
mov edx, 0xffffd8f0
mov eax, esi
mul edx
sub edx, esi
imul esi, edi, 0xffffd8f0
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov dword [esp + 4], 0x909f9e9d
mov word [esp + 8], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 5
ja 0x43dbfc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0xc]
movzx esi, byte [esp + esi + 4]
mov edi, eax
xor edi, 0xe45132a5
and eax, 0xe45132a5
lea eax, [edi + eax*2]
xor eax, esi
mov dword [esp], eax
mov eax, dword [esp]
add al, 0xc7
mov esi, dword [esp + 0xc]
mov byte [esp + esi + 4], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 6
jb 0x43dbc0
mov eax, dword [esp + 4]
mov esi, dword [0x4506dc]
test esi, esi
je 0x43dc55
xor edi, edi
mov ebx, dword [0x4506e0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x7e28bda7
je 0x43dc30
inc edi
cmp esi, edi
jne 0x43dc20
jmp 0x43dc55
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x43dc55
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 3
push dword [0x4506e4]
push esi
mov esi, ecx
call fcn.00440260
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x43dc62
mov esi, eax
call fcn.0043d930
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc