Function at 0x43d3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
cmp edi, 0x28
ja 0x43d529
mov eax, dword [ecx + 0xc]
mov esi, edi
shr esi, 5
mov edx, edi
inc esi
mov dword [ebp - 8], eax
mov ebx, dword [eax + 0x30]
xor ebx, edi
cmp edi, esi
jb 0x43d410
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + edx - 1]
mov eax, ebx
shl eax, 5
sub edx, esi
add ecx, eax
mov eax, ebx
shr eax, 2
add ecx, eax
xor ebx, ecx
cmp edx, esi
jae 0x43d3f2
mov esi, dword [ebp - 8]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
and ecx, ebx
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x43d49c
cmp ebx, dword [edi + 8]
jne 0x43d493
mov ecx, dword [ebp + 8]
cmp ecx, dword [edi + 0xc]
jne 0x43d493
mov edx, dword [ebp - 0xc]
lea eax, [edi + 0x10]
mov esi, ecx
sub esi, 4
jb 0x43d451
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x43d45a
add edx, 4
add eax, 4
sub esi, 4
jae 0x43d440
cmp esi, 0xfffffffc
je 0x43d50b
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x43d493
cmp esi, 0xfffffffd
je 0x43d50b
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x43d493
cmp esi, 0xfffffffe
je 0x43d50b
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x43d493
cmp esi, 0xffffffff
je 0x43d50b
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x43d50b
mov edi, dword [edi]
test edi, edi
jne 0x43d423
mov esi, dword [ebp - 8]
mov edx, dword [esi + 0x20]
mov ecx, edx
mov edi, dword [ebp - 4]
cmp dword [esi + 0x1c], edx
jb 0x43d4bd
cmp edx, 0x3ffffffe
jg 0x43d4bd
add edx, edx
mov ecx, edi
call fcn.0043d290
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov esi, dword [ebp + 8]
and ecx, ebx
push ecx
mov edx, 4
lea eax, [eax + ecx*4]
mov ecx, edi
push eax
lea eax, [esi + 0x11]
push eax
call fcn.0043a280
mov edi, eax
push esi
push dword [ebp - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 0xc], esi
push ecx
mov dword [edi + 8], ebx
mov byte [edi + 6], 0
call fcn.0058cce0
mov eax, dword [ebp - 8]
add esp, 0x18
mov byte [edi + esi + 0x10], 0
inc dword [eax + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov cl, byte [edi + 5]
xor cl, 3
mov al, byte [eax + 0x34]
xor al, 3
test cl, al
jne 0x43d502
mov byte [edi + 5], cl
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi + 1]
cmp eax, 0xffffffed
ja 0x43d5ca
mov ebx, dword [ecx + 0xc]
mov eax, dword [ebx + 0x30]
mov dword [ebp + 8], eax
lea eax, [edi + 0x11]
push eax
mov eax, dword [ebx]
push 4
push 0
push dword [ebx + 4]
call eax
mov esi, eax
add esp, 0x10
lea eax, [edi + 0x11]
test esi, esi
jne 0x43d588
test eax, eax
je 0x43d588
cmp byte [ebx + 0x37], 0
je 0x43d5cf
mov ecx, dword [ebp - 4]
lea edx, [esi + 1]
call fcn.0043c560
lea eax, [edi + 0x11]
push eax
mov eax, dword [ebx]
push 4
push esi
push dword [ebx + 4]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43d5cf
lea eax, [edi + 0x11]
add dword [ebx + 0xc], eax
mov al, byte [ebx + 0x34]
and al, 3
mov byte [esi + 4], 0x14
mov byte [esi + 5], al
mov eax, dword [ebx + 0x3c]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x3c], esi
push edi
push dword [ebp - 0xc]
mov dword [esi + 8], eax
lea eax, [esi + 0x10]
push eax
mov dword [esi + 0xc], edi
mov byte [esi + 6], 0
call fcn.0058cce0
add esp, 0xc
mov byte [esi + edi + 0x10], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043dd40
mov ecx, dword [ebp - 4]
mov edx, 4
call fcn.00439390
int3