Function at 0x4340ee
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
mov eax, 0x468750
call fcn.004656a0
sub esp, 0x18c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x80], esi
push 0xf
mov dword [ebp - 0x2c], ebx
pop edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
mov byte [esi], bl
mov eax, 0xff
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x198]
push ebx
push eax
mov dword [ebp - 0x2c], 1
call fcn.00440770
movaps xmm0, xmmword [0x47d7b0]
add esp, 0xc
movups xmmword [ebp - 0x60], xmm0
mov edx, ebx
mov dword [ebp - 0x40], 0xeff8f8ff
movaps xmm0, xmmword [0x47d590]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0xefdcfee4
mov dword [ebp - 0x38], 0xe5e3f9f8
mov word [ebp - 0x34], 0xe4
mov cl, byte [ebp - 0x60]
not cl
xor byte [ebp + edx - 0x5f], cl
inc edx
cmp edx, 0x2c
jb 0x43416c
lea eax, [ebp - 0x30]
mov byte [ebp - 0x33], bl
push eax
push 0x20119
push ebx
lea eax, [ebp - 0x5f]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4341e5
mov cl, 0x51
mov dword [ebp - 0x20], 0xc1dcfe51
mov dword [ebp - 0x1c], 0xdacddbca
mov edx, ebx
mov dword [ebp - 0x18], 0xcbc3cfe0
mov byte [ebp - 0x14], bl
not cl
xor byte [ebp + edx - 0x1f], cl
inc edx
cmp edx, 0xb
jae 0x4341c8
mov cl, byte [ebp - 0x20]
jmp 0x4341b7
lea eax, [ebp - 0x64]
mov byte [ebp - 0x14], bl
push eax
lea eax, [ebp - 0x198]
push eax
push ebx
push ebx
lea eax, [ebp - 0x1f]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x198]
mov dword [ebp - 0x6c], ebx
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], edi
mov byte [ebp - 0x7c], bl
call fcn.004127d6
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00411cee
lea ecx, [ebp - 0x7c]
call fcn.00412665
push 0xa
pop edx
lea ecx, [ebp - 0x13]
call fcn.004247c8
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.004247e0
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 1
mov ebx, 0xc3
mov ecx, esi
push eax
mov dword [ebp - 0x2c], ebx
call fcn.00411b0e
or edi, 0xffffffff
cmp eax, edi
jne 0x434293
mov edx, 0x7e0
lea ecx, [ebp - 0x67]
call fcn.004247c8
push ecx
lea ecx, [ebp - 0x67]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.004247e0
push 0
lea eax, [ebp - 0x98]
mov ebx, 0x3c7
push eax
mov ecx, esi
mov dword [ebp - 0x2c], ebx
call fcn.00411b0e
mov byte [ebp - 0xd], 0
cmp eax, edi
je 0x434297
mov byte [ebp - 0xd], 1
test bl, 4
je 0x4342ad
and ebx, 0xfffffffb
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x2c], ebx
call fcn.00412665
and dword [ebp - 4], 0
test bl, 2
je 0x4342c4
and ebx, 0xfffffffd
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], ebx
call fcn.00412665
cmp byte [ebp - 0xd], 0
je 0x4342da
and dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0xa
jmp 0x434539
mov cl, 0x24
mov dword [ebp - 0x18], 0xeaf5e324
mov byte [ebp - 0x14], 0
xor edx, edx
not cl
xor cl, byte [ebp + edx - 0x17]
mov byte [ebp + edx - 0x17], cl
inc edx
cmp edx, 3
jae 0x4342fe
mov cl, byte [ebp - 0x18]
jmp 0x4342e9
push ecx
lea eax, [ebp - 0x17]
mov byte [ebp - 0x14], 0
push eax
mov ecx, esi
call fcn.00411add
cmp eax, edi
jne 0x43452b
mov cl, 0x7c
mov dword [ebp - 0x1c], 0xb2b3b17c
mov dword [ebp - 0x18], 0xb1d1a3b1
xor edx, edx
mov byte [ebp - 0x14], 0
not cl
xor cl, byte [ebp + edx - 0x1b]
mov byte [ebp + edx - 0x1b], cl
inc edx
cmp edx, 7
jae 0x434341
mov cl, byte [ebp - 0x1c]
jmp 0x43432c
push ecx
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x14], 0
push eax
mov ecx, esi
call fcn.00411add
cmp eax, edi
jne 0x43452b
push 8
pop edx
lea ecx, [ebp - 0x67]
call fcn.004247c8
push ecx
lea ecx, [ebp - 0x67]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.004247e0
or ebx, 0xc00
push 0
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 2
or ebx, 8
mov ecx, esi
push eax
mov dword [ebp - 0x2c], ebx
call fcn.00411b0e
cmp eax, edi
jne 0x4343d5
mov edx, 0x7dc
lea ecx, [ebp - 0x13]
call fcn.004247c8
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.004247e0
push 0
lea eax, [ebp - 0x4c]
or ebx, 0x3010
push eax
mov ecx, esi
mov dword [ebp - 0x2c], ebx
call fcn.00411b0e
mov byte [ebp - 0xd], 0
cmp eax, edi
je 0x4343d9
mov byte [ebp - 0xd], 1
test bl, 0x10
je 0x4343ec
and ebx, 0xffffffef
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], ebx
call fcn.00412665
and dword [ebp - 4], 0
test bl, 8
je 0x434406
and ebx, 0xfffffff7
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x2c], ebx
call fcn.00412665
cmp byte [ebp - 0xd], 0
je 0x434418
mov dword [esi + 0x1c], 2
jmp 0x434532
push 7
pop edx
lea ecx, [ebp - 0x67]
call fcn.004247c8
push ecx
lea ecx, [ebp - 0x67]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.004247e0
push 0
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
or ebx, 0xc020
call fcn.00411b0e
cmp eax, edi
jne 0x434487
mov al, 0xc
mov dword [ebp - 0x1c], 0xc3c3c10c
mov dword [ebp - 0x18], 0xc1a1d3cb
xor ecx, ecx
mov byte [ebp - 0x14], 0
not al
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 7
jae 0x43446f
mov al, byte [ebp - 0x1c]
jmp 0x43445e
push ecx
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x14], 0
push eax
mov ecx, esi
call fcn.00411add
mov byte [ebp - 0xd], 0
cmp eax, edi
je 0x43448b
mov byte [ebp - 0xd], 1
test bl, 0x20
je 0x434498
lea ecx, [ebp - 0x4c]
call fcn.00412665
cmp byte [ebp - 0xd], 0
je 0x4344aa
mov dword [esi + 0x1c], 1
jmp 0x434532
xor ebx, ebx
mov dword [ebp - 0x1a], 0xadb78821
mov al, 0x21
mov word [ebp - 0x16], 0xbfaa
mov byte [ebp - 0x14], bl
mov ecx, ebx
not al
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 5
jae 0x4344d1
mov al, byte [ebp - 0x1a]
jmp 0x4344c0
push ecx
lea eax, [ebp - 0x19]
mov byte [ebp - 0x14], bl
push eax
mov ecx, esi
call fcn.00411add
cmp eax, edi
jne 0x434526
push 0xc
pop ecx
mov byte [ebp - 0x19], cl
mov eax, ebx
mov dword [ebp - 0x18], 0xcbc3c3c1
mov byte [ebp - 0x14], bl
not cl
xor byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 4
jae 0x434507
mov cl, byte [ebp - 0x19]
jmp 0x4344f6
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0x14], bl
push eax
mov ecx, esi
call fcn.00411add
cmp eax, edi
jne 0x434526
mov dword [esi + 0x18], 0xa
mov dword [esi + 0x1c], ebx
jmp 0x434539
mov dword [esi + 0x1c], ebx
jmp 0x434532
mov dword [esi + 0x1c], 3
mov dword [esi + 0x18], 6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret