Function at 0x43b960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 0x10], 0x12111017
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x43b9d1
mov eax, dword [esp]
mov ecx, dword [esp]
movzx edx, byte [esp + ecx + 0x10]
lea ecx, [eax - 0x6b09927d]
mov esi, ecx
and esi, edx
xor ecx, edx
add eax, 0x83
and eax, edx
add eax, esi
sub ecx, eax
lea eax, [ecx + esi*2]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x6b
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x43b990
mov edi, dword [esp + 0x10]
mov eax, dword [0x44adec]
test eax, eax
je 0x43ba2c
xor ecx, ecx
mov edx, dword [0x44adf0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x77defcd
je 0x43ba00
inc ecx
cmp eax, ecx
jne 0x43b9f0
jmp 0x43ba2c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, edi
je 0x43ba2c
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x44adf4]
push eax
call fcn.00438160
add esp, 0x24
mov edi, eax
cmp edi, 0xc0000023
jne 0x43bc12
push dword [esp + 8]
call fcn.004360c0
add esp, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0x12111017
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 8
ja 0x43bab3
mov ecx, dword [esp]
mov edx, dword [esp]
movzx esi, byte [esp + edx + 0x10]
lea edx, [ecx - 0x6b09927d]
mov edi, edx
and edi, esi
xor edx, esi
add ecx, 0x83
and ecx, esi
add ecx, edi
sub edx, ecx
lea ecx, [edx + edi*2]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x6b
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 9
jb 0x43ba70
mov edx, dword [ebp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [0x44adec]
test ecx, ecx
je 0x43bae6
mov ebx, edx
xor edx, edx
mov esi, dword [0x44adf0]
nop
nop
cmp dword [esi + edx*8], 0x77defcd
je 0x43baec
inc edx
cmp ecx, edx
jne 0x43bad0
mov esi, dword [esp + 4]
mov edx, ebx
jmp 0x43bb1e
mov esi, dword [esp + 4]
jmp 0x43bb1e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, edi
mov esi, dword [esp + 4]
mov edx, ebx
je 0x43bb1e
lea edx, [esp + 8]
push edx
push eax
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x44adf4]
push ecx
call fcn.00438160
mov edx, ebx
add esp, 0x24
mov edi, eax
test edx, edx
je 0x43bc09
test edi, edi
js 0x43bc09
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43bc02
mov eax, dword [esi + 0xc]
shr eax, 1
mov ebx, dword [edx]
cmp ebx, eax
jb 0x43bb46
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x28], edi
je 0x43bbf6
mov edx, esi
add edx, 0x10
mov eax, ebx
and ebx, 3
mov dword [esp + 0x24], eax
mov edi, eax
je 0x43bb88
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
dec edi
movzx esi, word [edx]
xor eax, eax
test si, si
setne al
lea edx, [edx + eax*2]
mov word [ecx], si
add ecx, 2
dec ebx
jne 0x43bb70
cmp dword [esp + 0x24], 4
mov esi, dword [esp + 4]
jb 0x43bbf6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [edx]
xor ebx, ebx
test ax, ax
setne bl
mov word [ecx], ax
lea eax, [edx + ebx*2]
movzx edx, word [edx + ebx*2]
xor ebx, ebx
test dx, dx
setne bl
mov word [ecx + 2], dx
lea edx, [eax + ebx*2]
movzx eax, word [eax + ebx*2]
xor ebx, ebx
test ax, ax
setne bl
mov word [ecx + 4], ax
lea eax, [edx + ebx*2]
movzx esi, word [edx + ebx*2]
xor edx, edx
test si, si
setne dl
lea edx, [eax + edx*2]
mov word [ecx + 6], si
add ecx, 8
add edi, 0xfffffffc
jne 0x43bba0
mov esi, dword [esp + 4]
mov word [ecx], 0
mov edi, dword [esp + 0x28]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi + 0xc]
shr eax, 1
mov dword [edx], eax
push esi
call fcn.00436180
add esp, 4
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret