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

Disassembly:
sub esp, 0x2b4
push ebx
xor ebx, ebx
mov dl, 0x51
mov cl, 0x5c
mov al, 0x62
push esi
push edi
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], 0x4d
mov byte [esp + 0x11], 0xd
mov byte [esp + 0x12], 0x5d
mov byte [esp + 0x13], 0x48
mov byte [esp + 0x14], 0x35
mov byte [esp + 0x15], 0x15
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], 0xf2
mov byte [esp + 0x18], 8
mov byte [esp + 0x19], 0x43
mov byte [esp + 0x1a], 0x7a
mov byte [esp + 0x1b], 0xe7
mov byte [esp + 0x1c], 0x77
mov byte [esp + 0x1d], 0xc1
mov byte [esp + 0x1e], 0xc8
mov byte [esp + 0x1f], 0xcf
mov byte [esp + 0x20], 0x7f
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], 0x16
mov byte [esp + 0x24], 0xdf
mov byte [esp + 0x25], 0xd0
mov byte [esp + 0x26], 0xb0
mov byte [esp + 0x27], 0x4b
mov byte [esp + 0x28], 0xb4
mov byte [esp + 0x29], 0x8c
mov byte [esp + 0x2a], 0x48
mov byte [esp + 0x2b], 0xc0
mov byte [esp + 0x2c], 0x37
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], 0xc1
mov byte [esp + 0x2f], 0xc5
mov byte [esp + 0x30], 0xdb
mov byte [esp + 0x31], 0x54
mov byte [esp + 0x32], 0x81
mov byte [esp + 0x33], 0xd1
mov byte [esp + 0x34], 0xe9
mov byte [esp + 0x35], 0x2a
mov byte [esp + 0x36], 0xe9
mov byte [esp + 0x37], 0x88
mov byte [esp + 0x38], 0xf9
mov byte [esp + 0x39], 0x77
mov byte [esp + 0x3a], 0x69
mov byte [esp + 0x3b], 0xe
mov byte [esp + 0x3c], 0x15
mov byte [esp + 0x3d], 0x78
mov byte [esp + 0x3e], 0xf4
mov byte [esp + 0x3f], 0x81
mov byte [esp + 0x40], 0xea
mov byte [esp + 0x41], 0x4d
mov byte [esp + 0x42], 0x18
mov byte [esp + 0x43], 0x8c
mov byte [esp + 0x44], 0x4f
mov byte [esp + 0x45], 5
mov byte [esp + 0x46], 0xa6
mov byte [esp + 0x47], 0x6b
mov byte [esp + 0x48], 0x75
mov byte [esp + 0x49], 0x3f
mov byte [esp + 0x4a], 0xba
mov byte [esp + 0x4b], 0xd0
mov byte [esp + 0x4c], 0x54
mov byte [esp + 0x4d], 0xc7
mov byte [esp + 0x4e], 0x75
mov byte [esp + 0x4f], 0xde
mov byte [esp + 0x50], 0x6d
mov byte [esp + 0x51], 0x89
mov byte [esp + 0x52], 0xb9
mov byte [esp + 0x53], 0x97
mov byte [esp + 0x54], 0x24
mov byte [esp + 0x55], 0x65
mov byte [esp + 0x56], dl
mov byte [esp + 0x57], 0x87
mov byte [esp + 0x58], 0xfe
mov byte [esp + 0x59], al
mov byte [esp + 0x6e], al
mov al, 0xaf
mov byte [esp + 0x60], cl
mov byte [esp + 0x78], cl
mov ecx, dword [0x4081d0]
mov byte [esp + 0x79], al
mov byte [esp + 0x7d], al
mov eax, dword [str.1.0.2.7]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], eax
mov ecx, 6
xor eax, eax
lea edi, [esp + 0xa8]
rep stosd dword es:[edi], eax
mov ecx, 0x7f
lea edi, [esp + 0xc1]
mov byte [esp + 0xc0], bl
mov byte [esp + 0x61], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x9c]
mov byte [esp + 0x5a], 0x4c
stosb byte es:[edi], al
mov byte [esp + 0x5b], 0x87
mov byte [esp + 0x5c], 0x58
mov byte [esp + 0x5d], 0xb9
mov byte [esp + 0x5e], 0x37
mov byte [esp + 0x5f], 0xeb
mov byte [esp + 0x62], 0x9d
mov byte [esp + 0x63], 0x53
mov byte [esp + 0x64], 0x6a
mov byte [esp + 0x65], 0xf5
mov byte [esp + 0x66], 0xd7
mov byte [esp + 0x67], 0x1d
mov byte [esp + 0x68], 0x1a
mov byte [esp + 0x69], 0x46
mov byte [esp + 0x6a], 0x6b
mov byte [esp + 0x6b], 0x17
mov byte [esp + 0x6c], 0x48
mov byte [esp + 0x6d], 0x2e
mov byte [esp + 0x6f], 0x95
mov byte [esp + 0x70], 0x79
mov byte [esp + 0x71], 0xd9
mov byte [esp + 0x72], 0x4a
mov byte [esp + 0x73], 0x73
mov byte [esp + 0x74], 0xf6
mov byte [esp + 0x75], 0x2c
mov byte [esp + 0x76], 6
mov byte [esp + 0x77], 0xa6
mov byte [esp + 0x7a], 0xb
mov byte [esp + 0x7b], 0xb8
mov byte [esp + 0x7c], 0xca
mov byte [esp + 0x7e], 0x24
mov byte [esp + 0x7f], 2
mov byte [esp + 0x80], 0xac
mov byte [esp + 0x81], 0x99
mov byte [esp + 0x82], 0x47
mov byte [esp + 0x83], 7
mov byte [esp + 0x84], 0xa
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], 0xae
mov byte [esp + 0x87], 0xc2
mov byte [esp + 0x88], 0x3e
mov byte [esp + 0x89], 0xeb
mov byte [esp + 0x8a], 0x91
mov byte [esp + 0x8b], 0x36
mov byte [esp + 0x8c], 0x4d
mov byte [esp + 0x8d], 0x9f
mov byte [esp + 0x8e], 0xd
mov byte [esp + 0x8f], 0x80
mov byte [esp + 0x90], bl
mov byte [esp + 0x91], bl
mov byte [esp + 0x92], bl
mov byte [esp + 0x93], bl
mov byte [esp + 0x94], bl
mov byte [esp + 0x95], bl
mov byte [esp + 0x96], bl
mov byte [esp + 0x97], bl
push edx
lea eax, [esp + 0x10]
push eax
push ebx
push 0xf003f
push ebx
push 0x40a940
push ebx
push 0x408030
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401a41
mov edi, dword [esp + 0x2c4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc0]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
push ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [esp + 0xc4]
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40821c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0xc4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x408094
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0xc4]
not ecx
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push ebx
push 0x40815c
push ecx
call esi
test eax, eax
pop ebp
jne 0x401a41
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x98]
push 4
push edx
push 4
push ebx
push str.Type
push eax
mov dword [esp + 0xb0], 1
call esi
test eax, eax
jne 0x401a41
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 0x88
push ecx
push 3
push ebx
push str.Signature
push edx
call esi
test eax, eax
jne 0x401a41
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push 1
push ebx
push str.Version
push ecx
call esi
test eax, eax
jne 0x401a41
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x401a32
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2b4
ret
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x401a50
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00401a70
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x2b4
ret