Function at 0x43da30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x3c]
xor ecx, ecx
test eax, eax
je 0x43da63
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x43da50
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x18], cx
mov edx, eax
test eax, eax
je 0x43da73
add ecx, 2
mov edx, ecx
mov ebp, dword [esp + 0x44]
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x60676665
mov eax, 0xff319399
mov ecx, 0x66
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0xce6c6b]
mov esi, eax
or esi, edx
not edx
or edx, ecx
lea edi, [edx + esi]
add esi, edx
inc esi
lea ebx, [edi*2 + 2]
mov edi, ebx
and edi, 4
mov edx, esi
xor edx, 2
add edx, edi
and ebx, 2
and esi, 1
and edx, 0xfe
or edx, esi
xor edx, 1
add edx, ebx
mov byte [esp + eax + 0xce6c6b], dl
inc eax
dec ecx
cmp eax, 0xff31939d
jne 0x43daa0
mov ebx, dword [esp + 4]
mov eax, dword [0x4491f4]
test eax, eax
je 0x43db4f
xor ecx, ecx
mov edx, dword [0x4491f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc0a4c970
je 0x43db20
inc ecx
cmp eax, ecx
jne 0x43db10
jmp 0x43db4f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43db4f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x4c]
push 0x18
push eax
push dword [0x4491fc]
call fcn.00438f20
add esp, 0x24
mov ebx, eax
mov dword [esp + 4], 0xe1262779
mov word [esp + 8], 0
mov eax, 0xddf7b139
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x22084ecb]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0xe3
mov byte [esp + eax + 0x22084ecb], cl
inc eax
cmp eax, 0xddf7b13f
jne 0x43db70
cmp ebx, dword [esp + 4]
jne 0x43dd48
mov esi, ebp
push dword [esp + 0x14]
call fcn.00435ff0
add esp, 4
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xd1cecfce
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, edx
add al, 0xcd
xor al, byte [esp + edx + 0x10]
dec al
mov byte [esp + edx + 0x10], al
inc edx
cmp edx, 4
jne 0x43dbd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 4], 0x60676665
mov ebx, 0xff319399
mov ebp, 0x66
nop
nop
movzx eax, byte [esp + ebx + 0xce6c6b]
mov ecx, ebx
or ecx, eax
not eax
or eax, ebp
lea edi, [eax + ecx]
add eax, ecx
inc eax
lea edx, [edi*2 + 2]
mov edi, edx
and edi, 4
mov ecx, eax
xor ecx, 2
add ecx, edi
and edx, 2
and eax, 1
and ecx, 0xfe
or ecx, eax
xor ecx, 1
add ecx, edx
mov byte [esp + ebx + 0xce6c6b], cl
inc ebx
dec ebp
cmp ebx, 0xff31939d
jne 0x43dc00
mov ebx, dword [esp + 4]
mov ecx, dword [0x4491f4]
test ecx, ecx
je 0x43dcb6
xor eax, eax
mov edi, dword [0x4491f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + eax*8], 0xc0a4c970
je 0x43dc80
inc eax
cmp ecx, eax
jne 0x43dc70
jmp 0x43dcb6
mov ebp, dword [edi + eax*8 + 4]
cmp ebp, ebx
je 0x43dcb6
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push dword [esp + 0x10]
mov eax, dword [esp + 8]
push eax
push dword [esp + 0x2c]
push ecx
push dword [esp + 0x4c]
push 0x18
push ebp
push dword [0x4491fc]
call fcn.00438f20
add esp, 0x24
mov ebx, eax
test ebx, ebx
mov ecx, dword [esp + 0x48]
js 0x43dd3d
mov ebp, esi
mov edx, dword [esp + 0x40]
test edx, edx
je 0x43dcd0
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov dword [edx], eax
test ecx, ecx
je 0x43dd3d
test ebp, ebp
je 0x43dd35
mov eax, dword [ecx]
mov ecx, dword [esp]
mov ecx, dword [ecx + 8]
cmp eax, ecx
jb 0x43dce6
mov eax, ecx
mov esi, dword [esp]
lea edx, [esi + 0xc]
mov ecx, eax
shr ecx, 2
mov edi, ebp
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
and ecx, 0xfffffffc
add ebp, ecx
lea edi, [esi + ecx]
add edi, 0xc
mov edx, eax
and edx, 3
mov ecx, edx
shr ecx, 1
mov esi, ebp
mov dword [esp + 0xc], edi
mov ebp, edi
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test al, 1
mov ecx, dword [esp + 0x48]
je 0x43dd35
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + edx - 1]
mov byte [esi + edx - 1], al
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov dword [ecx], eax
push dword [esp]
call fcn.00436140
add esp, 4
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret