Function at 0x43a820
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov ebp, ecx
mov eax, dword [esp + 0x74]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 0x100000
mov dword [esp + 0x10], 0
mov dword [esp + 0x38], 0x16171819
mov word [esp + 0x3c], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xb6
xor cl, byte [esp + eax + 0x38]
add cl, 0x50
mov byte [esp + eax + 0x38], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 6
jb 0x43a870
mov eax, dword [esp + 0x38]
mov ecx, dword [0x44aea0]
test ecx, ecx
je 0x43a8ee
xor edx, edx
mov esi, dword [0x44aea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xa8f779e4
je 0x43a8c0
inc edx
cmp ecx, edx
jne 0x43a8b0
jmp 0x43a8ee
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43a8ee
lea eax, [esp + 0x20]
lea edx, [esp + 0x10]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44aea8]
call fcn.0043b9a0
add esp, 0x24
test eax, eax
js 0x43af9a
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp], 0x67676564
mov word [esp + 4], 0
mov eax, 0xf3e16b44
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0xc1e94bc]
xor ecx, eax
add ecx, 0x60f4a5df
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov byte [esp + eax + 0xc1e94bc], cl
inc eax
cmp eax, 0xf3e16b4a
jne 0x43a950
mov esi, dword [esp]
cmp esi, 0x7ffffffe
ja 0x43af05
mov dword [esp + 0xc], 0
xor ebx, ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], ebp
jmp 0x43a9c4
mov ebp, dword [esp + 0x24]
mov ebx, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x44]
add esi, dword [esp + 0x38]
cmp esi, 0x7fffffff
jae 0x43af05
mov ecx, dword [ebp]
mov dword [esp], 0x16171819
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
add dl, 0xb6
xor dl, byte [esp + eax]
add dl, 0x50
mov byte [esp + eax], dl
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, 6
jb 0x43a9e0
mov eax, dword [esp]
mov edx, dword [0x44aea0]
test edx, edx
mov dword [esp + 0x18], esi
je 0x43aa60
xor esi, esi
mov edi, dword [0x44aea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xe095b21b
je 0x43aa30
inc esi
cmp edx, esi
jne 0x43aa20
jmp 0x43aa60
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
mov esi, dword [esp + 0x18]
je 0x43aa60
push 0
push 0x1c
lea eax, [esp + 0x40]
push eax
push 0
push esi
push ecx
push 0x18
push edx
push dword [0x44aea8]
call fcn.0043b9a0
add esp, 0x24
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x43af05
test eax, eax
js 0x43a9b0
cmp dword [esp + 0x48], 0x1000
jne 0x43a9b0
test byte [esp + 0x4c], 0x66
je 0x43a9b0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jbe 0x43abda
mov dword [esp], 0x16171819
mov word [esp + 4], 0
xor ecx, ecx
nop
nop
nop
nop
mov edx, ecx
add dl, 0xb6
xor dl, byte [esp + ecx]
add dl, 0x50
mov byte [esp + ecx], dl
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
cmp ecx, 6
jb 0x43aab0
mov ecx, dword [0x44aea0]
test ecx, ecx
je 0x43ab2e
mov edx, dword [esp]
xor esi, esi
mov edi, dword [0x44aea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x6a2d3ea3
je 0x43ab00
inc esi
cmp ecx, esi
jne 0x43aaf0
jmp 0x43ab2e
mov ecx, dword [edi + esi*8 + 4]
cmp ecx, edx
je 0x43ab2e
push 0x8000
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 0x10
push ecx
push dword [0x44aea8]
call fcn.0043b9a0
add esp, 0x1c
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
mov dword [esp], 0x16171819
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xb6
xor cl, byte [esp + eax]
add cl, 0x50
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 6
jb 0x43ab50
mov eax, dword [esp]
mov ecx, dword [0x44aea0]
test ecx, ecx
je 0x43abce
xor edx, edx
mov esi, dword [0x44aea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xa8f779e4
je 0x43aba0
inc edx
cmp ecx, edx
jne 0x43ab90
jmp 0x43abce
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43abce
push 4
push 0x3000
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44aea8]
call fcn.0043b9a0
add esp, 0x24
test eax, eax
js 0x43af05
mov ecx, dword [esp + 0x20]
mov esi, ebx
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
mov dword [esp + 0x28], eax
mov dword [esp], 0x16171819
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0xb6
xor bl, byte [esp + eax]
add bl, 0x50
mov byte [esp + eax], bl
mov edi, eax
and edi, 1
xor eax, 1
lea eax, [eax + edi*2]
cmp eax, 6
jb 0x43ac00
mov eax, dword [esp]
mov ebx, dword [0x44aea0]
test ebx, ebx
je 0x43ac53
xor edi, edi
mov ebp, dword [0x44aea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edi*8], 0xa99f3325
je 0x43ae6e
inc edi
cmp ebx, edi
jne 0x43ac40
mov edi, dword [esp + 0x18]
test eax, eax
jns 0x43ac66
cmp eax, 0x8000000d
jne 0x43a9a1
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x68]
push dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
call fcn.0043afb0
add esp, 0x18
mov eax, dword [esp]
mov edx, dword [esp + 4]
cmp eax, edx
mov ebx, esi
je 0x43aedf
mov dword [esp + 0x54], eax
mov esi, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
mov eax, edi
jmp 0x43acd9
mov edi, ebp
mov ebp, dword [esp + 0x28]
mov dword [edi + ebx], ebp
add ecx, 4
add esi, 4
cmp esi, edx
mov ebx, edi
je 0x43aea0
mov edi, dword [esi]
add edi, eax
sub edi, dword [esp + 0x10]
mov dword [esp + 0x28], edi
mov edi, ebx
mov ebx, ecx
mov ebp, edi
sub ebx, edi
cmp ecx, dword [esp + 0xc]
jne 0x43acc0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
sar ebx, 2
lea eax, [ebx + 1]
mov edi, ebx
shr edi, 1
add edi, ebx
cmp edi, eax
ja 0x43ad0d
mov edi, eax
lea eax, [edi*4]
push eax
call fcn.00408620
add esp, 4
test ebp, ebp
je 0x43ae50
mov ecx, ebp
mov dword [esp + 0x58], edi
cmp eax, ebp
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
jbe 0x43adff
cmp ecx, eax
jbe 0x43adff
test ebx, ebx
je 0x43ae3c
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
lea eax, [ebx + edx]
dec eax
mov ecx, dword [esp + 0x30]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x43ad98
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x43ad80
add eax, edx
add ecx, edx
add edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
mov edi, ebx
sub edi, dword [esp + 0x14]
cmp edi, 0xfffffff8
ja 0x43ae3c
neg edx
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x43adb0
jmp 0x43ae3c
mov ecx, ebx
shr ecx, 2
mov edx, ebp
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, ebx
and edx, 0xfffffffc
lea edi, [eax + edx]
add edx, ebp
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, edx
mov ebp, edi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0x43ae3c
mov eax, dword [esp + 0x1c]
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebp + eax], cl
push dword [esp + 0xc]
call fcn.00408630
add esp, 4
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x30]
lea ecx, [eax + edi*4]
mov dword [esp + 0xc], ecx
mov ecx, eax
mov ebx, dword [esp + 0x1c]
add ecx, ebx
mov edi, eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
jmp 0x43acc2
mov ebx, dword [ebp + edi*8 + 4]
cmp ebx, eax
mov edi, dword [esp + 0x18]
je 0x43ac57
lea eax, [esp + 0x5c]
push eax
push ecx
push edx
push edi
push dword [esp + 0x38]
push 0x14
push ebx
push dword [0x44aea8]
call fcn.0043b9a0
add esp, 0x20
jmp 0x43ac57
mov eax, dword [esp + 0x74]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov edx, dword [esp + 0xc]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x54]
test eax, eax
mov ebp, dword [esp + 0x24]
je 0x43aefc
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x2c]
je 0x43a9b0
push eax
call fcn.00408630
add esp, 4
mov dword [esp], 0
jmp 0x43a9b0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov ebp, dword [esp + 0x24]
jmp 0x43a9b0
mov dword [esp + 0x14], ecx
jmp 0x43a9b0
mov dword [esp], 0x16171819
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xb6
xor cl, byte [esp + eax]
add cl, 0x50
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 6
jb 0x43af20
mov eax, dword [0x44aea0]
test eax, eax
je 0x43af9a
mov ecx, dword [esp]
xor edx, edx
mov esi, dword [0x44aea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x6a2d3ea3
je 0x43af70
inc edx
cmp eax, edx
jne 0x43af60
jmp 0x43af9a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43af9a
lea ecx, [esp + 0x34]
lea edx, [esp + 0x10]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44aea8]
call fcn.0043b9a0
add esp, 0x1c
mov eax, dword [esp + 0x74]
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0x10