Function at 0x43d730
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp], 0x686b6a65
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0x808c0e63
mov ecx, 0x20230498
nop
nop
nop
nop
movzx edi, byte [esp + eax + 0x7f73f19d]
lea edx, [eax + 0x5f50ee04]
and edx, edi
add edx, edx
mov esi, edx
sub esi, edi
add esi, ecx
not esi
and esi, 0xfc
add esi, edi
mov ebp, edi
sub ebp, edx
lea edi, [eax + ebp]
add ebp, eax
add ebp, 0x5f50ee04
or edi, ebp
and ebp, 0xa0af11fc
sub esi, ebp
sub esi, edx
add esi, eax
and edi, 1
xor esi, 1
lea edx, [esi + edi*2]
mov byte [esp + eax + 0x7f73f19d], dl
inc eax
dec ecx
cmp eax, 0x808c0e6a
jne 0x43d760
mov esi, dword [esp]
mov eax, dword [0x44a87c]
test eax, eax
je 0x43d80e
xor ecx, ecx
mov edx, dword [0x44a880]
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x33079ccd
je 0x43d7e0
inc ecx
cmp eax, ecx
jne 0x43d7d0
jmp 0x43d80e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43d80e
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push eax
push dword [0x44a884]
call fcn.004395d0
add esp, 0x24
mov esi, eax
mov dword [esp], 0xb9fafbd1
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
movzx ecx, byte [esp + eax]
mov edi, eax
and edi, 1
mov edx, eax
and edx, 2
mov ebp, edx
xor ebp, 2
imul ebp, edi
or edi, 2
imul edi, edx
mov edx, eax
xor edx, 0x4ed07bab
add edx, ebp
add edx, edi
mov edi, edx
and edi, ecx
mov ebp, ecx
add ebp, edx
not ebp
lea edi, [edi*2]
add edi, ebp
and edi, edx
add edi, edi
sub edx, edi
add dl, cl
add dl, 0xa9
mov byte [esp + eax], dl
inc eax
cmp eax, 5
jne 0x43d820
cmp esi, dword [esp]
jne 0x43da97
push dword [esp + 0x14]
call fcn.00436690
add esp, 4
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp], 0x686b6a65
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov edx, 0x808c0e63
mov ebx, 0x20230498
nop
nop
nop
movzx ebp, byte [esp + edx + 0x7f73f19d]
lea ecx, [edx + 0x5f50ee04]
and ecx, ebp
add ecx, ecx
mov edi, ecx
sub edi, ebp
add edi, ebx
not edi
and edi, 0xfc
add edi, ebp
sub ebp, ecx
lea esi, [edx + ebp]
add ebp, edx
add ebp, 0x5f50ee04
or esi, ebp
and ebp, 0xa0af11fc
sub edi, ebp
sub edi, ecx
add edi, edx
and esi, 1
xor edi, 1
lea ecx, [edi + esi*2]
mov byte [esp + edx + 0x7f73f19d], cl
inc edx
dec ebx
cmp edx, 0x808c0e6a
jne 0x43d8b0
mov esi, dword [esp]
mov ecx, dword [0x44a87c]
test ecx, ecx
je 0x43d940
xor edx, edx
mov edi, dword [0x44a880]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x33079ccd
je 0x43d94a
inc edx
cmp ecx, edx
jne 0x43d930
jmp 0x43d980
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
jmp 0x43d980
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x43d980
lea edx, [esp + 0x14]
push edx
push dword [esp + 0x14]
push dword [esp + 0x10]
push 0
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push ecx
push dword [0x44a884]
mov edi, eax
call fcn.004395d0
add esp, 0x24
mov esi, eax
mov eax, edi
test ebx, ebx
mov edx, dword [esp + 8]
je 0x43da8e
test esi, esi
js 0x43da8e
test ebp, ebp
je 0x43da87
mov ecx, dword [edx + 0xc]
shr ecx, 1
mov edi, dword [ebx]
cmp edi, ecx
jb 0x43d9a9
mov edi, ecx
test edi, edi
je 0x43da7e
add eax, 0x10
mov ecx, edi
and ecx, 3
je 0x43da07
mov dword [esp + 0x10], edi
xor edi, edi
mov ebp, dword [esp + 0x34]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov word [ebp], bx
add ebp, 2
inc edi
cmp ecx, edi
jne 0x43d9d0
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x10]
mov ebp, ecx
sub ebp, edi
mov edi, ecx
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 8]
cmp edi, 4
jae 0x43da0e
jmp 0x43da7e
mov ebp, edi
cmp edi, 4
jb 0x43da7e
mov ebx, dword [esp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
add ebp, 0xfffffffc
jne 0x43da20
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov word [eax], 0
mov eax, dword [edx + 0xc]
shr eax, 1
mov dword [ebx], eax
push edx
call fcn.00436720
add esp, 4
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret