Function at 0x43b940
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], 0x54555657
mov eax, 0x48578125
mov ecx, 0x90af024a
movzx edx, byte [esp + eax - 0x48578125]
mov edi, ecx
and edi, 0x102f0006
mov esi, eax
xor esi, 0x93ff443
add esi, edi
mov edi, esi
and edi, edx
lea ebx, [esi + edx]
not ebx
lea edi, [ebx + edi*2]
and edi, esi
mov ebx, edi
and ebx, 2
mov ebp, edi
or edi, 2
imul edi, ebx
xor ebx, 2
and ebp, 0x51ff757d
imul ebp, ebx
sub edi, esi
mov ebx, 0x1419eff
sub ebx, edi
sub ebx, ebp
lea esi, [edi + ebp]
add esi, 0xfebe6200
and ebx, edx
not edx
and edx, esi
sub ebx, edx
add bl, 0xc0
mov byte [esp + eax - 0x48578125], bl
inc eax
add ecx, 2
cmp eax, 0x48578129
jne 0x43b960
mov esi, dword [esp]
mov eax, dword [0x447604]
test eax, eax
je 0x43ba2e
xor ecx, ecx
mov edx, dword [0x447608]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x29df508e
je 0x43ba00
inc ecx
cmp eax, ecx
jne 0x43b9f0
jmp 0x43ba2e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43ba2e
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 [0x44760c]
call fcn.00439030
add esp, 0x24
mov esi, eax
mov dword [esp], 0x8e4d4c68
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax]
lea edx, [eax + 0xd3]
and edx, ecx
lea edi, [ecx + ecx]
not edi
add edi, ecx
mov ecx, 0x2c
sub ecx, eax
and ecx, edi
or ecx, edx
mov dl, 0x67
sub dl, cl
mov byte [esp + eax], dl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 4
jb 0x43ba40
cmp esi, dword [esp]
jne 0x43bccf
push dword [esp + 0x14]
call fcn.004375a0
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp], 0x54555657
mov ecx, 0x48578125
mov eax, 0x90af024a
nop
nop
nop
nop
nop
movzx edi, byte [esp + ecx - 0x48578125]
mov esi, eax
and esi, 0x102f0006
mov edx, ecx
xor edx, 0x93ff443
add edx, esi
mov esi, edx
and esi, edi
lea ebp, [edx + edi]
not ebp
lea ebp, [ebp + esi*2]
and ebp, edx
mov ebx, ebp
and ebx, 2
mov esi, ebp
or ebp, 2
imul ebp, ebx
xor ebx, 2
and esi, 0x51ff757d
imul esi, ebx
sub ebp, edx
mov edx, 0x1419eff
sub edx, ebp
sub edx, esi
add esi, ebp
add esi, 0xfebe6200
and edx, edi
not edi
and edi, esi
sub edx, edi
add dl, 0xc0
mov byte [esp + ecx - 0x48578125], dl
inc ecx
add eax, 2
cmp ecx, 0x48578129
jne 0x43bab0
mov esi, dword [esp]
mov ecx, dword [0x447604]
test ecx, ecx
je 0x43bb5e
xor edx, edx
mov edi, dword [0x447608]
mov ebx, dword [esp + 0x34]
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x29df508e
je 0x43bc00
mov eax, edx
and eax, 1
xor edx, 1
lea edx, [edx + eax*2]
cmp edx, ecx
jb 0x43bb40
jmp 0x43bb62
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 4]
mov edx, dword [esp + 0x38]
test edx, edx
je 0x43bcc6
test esi, esi
js 0x43bcc6
test ebx, ebx
je 0x43bcbf
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov eax, dword [edx]
cmp eax, ecx
jb 0x43bb8f
mov eax, ecx
test eax, eax
je 0x43bcb6
add dword [esp + 8], 0x10
mov ecx, eax
and ecx, 3
je 0x43bc3c
mov dword [esp + 0x10], eax
xor edi, edi
mov ebp, dword [esp + 0x34]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov dword [esp + 8], eax
mov word [ebp], bx
add ebp, 2
inc edi
cmp ecx, edi
jne 0x43bbc0
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x10]
mov ebp, eax
sub ebp, edi
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 4]
cmp eax, 4
jae 0x43bc43
jmp 0x43bcb6
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
mov edi, dword [esp + 4]
je 0x43bb66
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push edi
push 0
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push ecx
push dword [0x44760c]
call fcn.00439030
add esp, 0x24
mov esi, eax
jmp 0x43bb66
mov ebp, eax
cmp eax, 4
jb 0x43bcb6
mov ebx, dword [esp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
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]
mov dword [esp + 8], eax
add ebp, 0xfffffffc
jne 0x43bc50
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov word [eax], 0
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [edx], eax
push edi
call fcn.004375e0
add esp, 4
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret