Function at 0x43c2f0
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], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x43c387
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
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]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x43c330
mov edi, dword [esp + 0x10]
mov eax, dword [0x447858]
test eax, eax
je 0x43c3d9
xor ecx, ecx
mov edx, dword [0x44785c]
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x52b46bba
je 0x43c3b0
inc ecx
cmp eax, ecx
jne 0x43c3a0
jmp 0x43c3d9
mov eax, dword [edx + ecx*8 + 4]
cmp eax, edi
je 0x43c3d9
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 2
push dword [ebp + 8]
push 5
push dword [0x447860]
push eax
call fcn.00438dd0
add esp, 0x20
mov edi, eax
cmp edi, 0xc0000023
jne 0x43c620
push dword [esp + 8]
call fcn.004372e0
add esp, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0x42414047
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 9
ja 0x43c479
nop
mov edx, dword [esp]
mov ecx, dword [esp]
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]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xa
jb 0x43c420
mov edi, dword [esp + 0x10]
mov ecx, dword [0x447858]
test ecx, ecx
je 0x43c4b0
xor edx, edx
mov esi, dword [0x44785c]
mov ebx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x52b46bba
je 0x43c4b6
inc edx
cmp ecx, edx
jne 0x43c4a0
jmp 0x43c4dd
mov ebx, dword [esp + 4]
jmp 0x43c4dd
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, edi
je 0x43c4dd
lea edx, [esp + 8]
push edx
push eax
push ebx
push 2
push dword [ebp + 8]
push 5
push dword [0x447860]
push ecx
call fcn.00438dd0
add esp, 0x20
mov edi, eax
test edi, edi
js 0x43c617
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43c5cc
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x43c5c5
mov eax, dword [ebx + 0x10]
shr eax, 1
mov esi, dword [ecx]
cmp esi, eax
jb 0x43c50b
mov esi, eax
test esi, esi
mov dword [esp + 0x28], edi
je 0x43c5b9
mov edi, esi
mov esi, ebx
add esi, 0x2c
mov eax, edi
and eax, 3
mov dword [esp + 0x24], edi
je 0x43c548
nop
nop
nop
nop
nop
nop
nop
dec edi
movzx ecx, word [esi]
xor ebx, ebx
test cx, cx
setne bl
lea esi, [esi + ebx*2]
mov word [edx], cx
add edx, 2
dec eax
jne 0x43c530
cmp dword [esp + 0x24], 4
mov ebx, dword [esp + 4]
mov ecx, dword [ebp + 0x10]
jb 0x43c5b9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [esi]
xor ecx, ecx
test ax, ax
setne cl
mov word [edx], ax
lea eax, [esi + ecx*2]
movzx ecx, word [esi + ecx*2]
xor ebx, ebx
test cx, cx
setne bl
mov word [edx + 2], cx
lea ecx, [eax + ebx*2]
movzx eax, word [eax + ebx*2]
xor ebx, ebx
test ax, ax
setne bl
mov word [edx + 4], ax
lea eax, [ecx + ebx*2]
movzx ecx, word [ecx + ebx*2]
xor ebx, ebx
test cx, cx
setne bl
lea esi, [eax + ebx*2]
mov word [edx + 6], cx
add edx, 8
add edi, 0xfffffffc
jne 0x43c560
mov ebx, dword [esp + 4]
mov ecx, dword [ebp + 0x10]
mov word [edx], 0
mov edi, dword [esp + 0x28]
mov esi, dword [ebp + 0x14]
mov eax, dword [ebx + 0x10]
shr eax, 1
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
test esi, esi
je 0x43c5d8
mov eax, dword [ebx + 0x14]
mov dword [esi], eax
mov eax, dword [ebp + 0x1c]
test ecx, ecx
je 0x43c5e6
mov edx, dword [ebx + 0x18]
shr edx, 1
mov dword [ecx], edx
mov ecx, dword [ebp + 0x20]
test eax, eax
je 0x43c5f4
mov edx, dword [ebx + 0x1c]
shr edx, 1
mov dword [eax], edx
mov eax, dword [ebp + 0x24]
test ecx, ecx
je 0x43c600
mov edx, dword [ebx + 0x20]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x28]
test eax, eax
je 0x43c60e
mov edx, dword [ebx + 0x24]
shr edx, 1
mov dword [eax], edx
test ecx, ecx
je 0x43c617
mov eax, dword [ebx + 0x28]
mov dword [ecx], eax
push ebx
call fcn.00437380
add esp, 4
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret