Function at 0x43bf60
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], 0x42414047
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x43bffc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov eax, dword [esp + 4]
movzx edx, byte [esp + eax + 0x10]
lea esi, [ecx - 0x705ff7b5]
lea eax, [ecx + edx]
add eax, 0x8fa0084b
and esi, edx
mov edi, 0x705ff7b4
sub edi, ecx
or edi, edx
add edi, ecx
lea ecx, [esi + edi]
add ecx, 0x8fa0084c
mov edx, ecx
xor edx, eax
not ecx
and ecx, eax
add ecx, ecx
sub ecx, edx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
add al, 0xf3
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x43bfa0
mov ebx, dword [esp + 0x10]
mov eax, dword [0x447858]
test eax, eax
je 0x43c05c
xor ecx, ecx
mov edx, dword [0x44785c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x14483c8c
je 0x43c030
inc ecx
cmp eax, ecx
jne 0x43c020
jmp 0x43c05c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43c05c
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x447860]
push eax
call fcn.00438dd0
add esp, 0x24
mov ebx, eax
mov dword [esp + 0x10], 0xbbf8f9e3
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x43c0cb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x3cc4f81f]
add eax, 0x1f
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
add al, 0x27
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x43c090
cmp ebx, dword [esp + 0x10]
jne 0x43c2a2
push dword [esp + 0x20]
call fcn.004372e0
add esp, 4
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], 0x42414047
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 9
ja 0x43c17e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx esi, byte [esp + ecx + 0x10]
lea edi, [edx - 0x705ff7b5]
lea ecx, [edx + esi]
add ecx, 0x8fa0084b
and edi, esi
mov ebx, 0x705ff7b4
sub ebx, edx
or ebx, esi
add ebx, edx
lea edx, [edi + ebx]
add edx, 0x8fa0084c
mov esi, edx
xor esi, ecx
not edx
and edx, ecx
add edx, edx
sub edx, esi
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0xc]
add cl, 0xf3
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xa
jb 0x43c120
mov esi, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x447858]
test ecx, ecx
je 0x43c1b2
xor edx, edx
mov edi, dword [0x44785c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x14483c8c
je 0x43c2ac
inc edx
cmp ecx, edx
jne 0x43c1a0
mov edi, dword [esp + 8]
test esi, esi
je 0x43c299
test ebx, ebx
js 0x43c299
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43c292
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov esi, dword [esi]
cmp esi, ecx
jb 0x43c1de
mov esi, ecx
test esi, esi
je 0x43c28a
mov dword [esp + 0x24], ebx
mov edx, edi
add edx, 0x10
mov ebx, esi
and ebx, 3
mov dword [esp + 0x28], esi
je 0x43c218
nop
nop
nop
nop
nop
nop
dec esi
movzx edi, word [edx]
xor ecx, ecx
test di, di
setne cl
lea edx, [edx + ecx*2]
mov word [eax], di
add eax, 2
dec ebx
jne 0x43c200
cmp dword [esp + 0x28], 4
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 8]
jb 0x43c28a
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [edx]
xor ebx, ebx
test cx, cx
setne bl
mov word [eax], cx
lea ecx, [edx + ebx*2]
movzx edx, word [edx + ebx*2]
xor ebx, ebx
test dx, dx
setne bl
mov word [eax + 2], dx
lea edx, [ecx + ebx*2]
movzx ecx, word [ecx + ebx*2]
xor ebx, ebx
test cx, cx
setne bl
mov word [eax + 4], cx
lea ecx, [edx + ebx*2]
movzx edi, word [edx + ebx*2]
xor edx, edx
test di, di
setne dl
lea edx, [ecx + edx*2]
mov word [eax + 6], di
add eax, 8
add esi, 0xfffffffc
jne 0x43c230
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 8]
mov word [eax], 0
mov esi, dword [ebp + 0x14]
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [esi], eax
push edi
call fcn.00437380
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, ebx
mov edi, dword [esp + 8]
je 0x43c1b6
lea edx, [esp + 0x20]
push edx
push eax
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push dword [0x447860]
push ecx
call fcn.00438dd0
add esp, 0x24
mov ebx, eax
jmp 0x43c1b6