Function at 0x409800
Capabilities:
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x1a8]
push ebx
sub esp, 0x21c
xor ebx, ebx
mov dword [ebp - 0x1ec], esp
lea esi, [esi]
mov byte [eax + esi], 0
inc eax
cmp eax, 0x184
jl 0x409820
mov edx, 0x184
xor ecx, ecx
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x1b0], edx
mov edi, 0x20019
mov edx, str.SoftwareClasses.exe_shellopencommand
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
mov eax, dword [ebp - 0x1ac]
sub esp, 0x14
test eax, eax
jne 0x409901
test bl, bl
jne 0x409881
mov byte [ebp - 0x1a8], 0
mov ebx, dword [ebp + 0xc]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
add eax, 0x9e
and eax, 0xfffffff0
call fcn.004f2010
mov eax, dword [ebp + 0xc]
lea ebx, [esp + 0x33]
mov edi, 0x54524154
and ebx, 0xfffffff0
mov word [ebx], 0x22
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_strcat
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov dword [eax + ebx], 0x532f2022
mov ecx, 0x31252220
mov edx, 0x2a252022
mov dword [eax + ebx + 4], edi
mov dword [eax + ebx + 8], ecx
mov dword [eax + ebx + 0xc], edx
mov byte [eax + ebx + 0x10], 0
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x40994e
mov esp, dword [ebp - 0x1ec]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], esi
xor edx, edx
xor eax, eax
mov dword [esp + 0xc], edx
lea ecx, [ebp - 0x1b0]
xor edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov ecx, dword [ebp - 0x1ac]
mov dword [esp], ecx
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
jne 0x409938
mov bl, 1
mov edi, dword [ebp - 0x1ac]
mov dword [esp], edi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x409876
mov dword [ebp - 0x1f0], esp
mov edi, dword [ebp + 8]
mov dword [esp], edi
call sub.msvcrt.dll_strlen
add eax, 0x9e
and eax, 0xfffffff0
call fcn.004f2010
mov ecx, dword [ebp + 0xc]
lea edi, [esp + 0x33]
and edi, 0xfffffff0
mov dword [esp], ecx
call sub.msvcrt.dll_strlen
add eax, 0x9e
and eax, 0xfffffff0
call fcn.004f2010
mov edx, dword [ebp + 8]
lea ebx, [esp + 0x33]
mov esi, str.SoftwareClasses_s
mov dword [esp + 4], esi
and ebx, 0xfffffff0
mov dword [esp], edi
mov dword [esp + 8], edx
call sub.msvcrt.dll_sprintf
mov dword [ebx], 0x6c707041
mov ecx, ebx
mov dword [ebx + 4], 0x74616369
mov dword [ebx + 8], 0x6e6f69
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
mov eax, edx
and eax, 0x80808080
je 0x4099c0
and edx, 0x8080
jne 0x4099e6
shr eax, 0x10
add ecx, 2
mov dword [esp + 4], edi
add al, al
mov esi, ecx
sbb esi, 3
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ecx
lea edx, [ebp - 0x1b4]
mov ecx, 0x2001f
mov dword [esp + 0x1c], edx
xor edx, edx
sub esi, ebx
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov edx, dword [ebp - 0x1b4]
sub esp, 0x24
test edx, edx
jne 0x40a571
mov edx, dword [ebp + 8]
mov eax, str.SoftwareClasses_s
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 8], edx
call sub.msvcrt.dll_sprintf
mov dword [ebx], 0x6c707061
mov ecx, ebx
mov dword [ebx + 4], 0x74616369
mov dword [ebx + 8], 0x2f6e6f69
mov dword [ebx + 0xc], 0x736d2d78
mov dword [ebx + 0x10], 0x6e776f64
mov dword [ebx + 0x14], 0x64616f6c
mov byte [ebx + 0x18], 0
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
mov eax, edx
and eax, 0x80808080
je 0x409a88
and edx, 0x8080
jne 0x409aae
shr eax, 0x10
add ecx, 2
mov dword [esp + 4], edi
add al, al
mov esi, ecx
sbb esi, 3
xor eax, eax
xor edx, edx
mov dword [esp + 0x20], eax
lea ecx, [ebp - 0x1b8]
mov eax, 0x2001f
mov dword [esp + 0x1c], ecx
xor ecx, ecx
sub esi, ebx
mov dword [esp + 0x18], edx
xor edx, edx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov ecx, dword [ebp - 0x1b8]
sub esp, 0x24
test ecx, ecx
jne 0x40a52a
mov ecx, dword [ebp + 8]
mov edx, str.SoftwareClasses_sDefaultIcon
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [esp + 8], ecx
call sub.msvcrt.dll_sprintf
mov word [ebx], 0x3125
mov ecx, ebx
mov byte [ebx + 2], 0
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
mov eax, edx
and eax, 0x80808080
je 0x409b2c
and edx, 0x8080
jne 0x409b52
shr eax, 0x10
add ecx, 2
mov dword [esp + 4], edi
add al, al
mov esi, ecx
sbb esi, 3
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ecx
lea edx, [ebp - 0x1bc]
mov ecx, 0x2001f
mov dword [esp + 0x1c], edx
xor edx, edx
sub esi, ebx
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov edx, dword [ebp - 0x1bc]
sub esp, 0x24
test edx, edx
jne 0x40a684
mov ecx, dword [ebp + 8]
mov edx, str.SoftwareClasses_s_shellopencommand
mov dword [esp], edi
mov esi, 0x54524154
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sub.msvcrt.dll_sprintf
mov word [ebx], 0x22
mov eax, dword [ebp + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcat
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov dword [eax + ebx], 0x532f2022
mov ecx, 0x31252220
mov edx, 0x2a252022
mov dword [eax + ebx + 8], ecx
mov ecx, ebx
mov dword [eax + ebx + 4], esi
mov dword [eax + ebx + 0xc], edx
mov byte [eax + ebx + 0x10], 0
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
mov eax, edx
and eax, 0x80808080
je 0x409c0a
and edx, 0x8080
jne 0x409c30
shr eax, 0x10
add ecx, 2
mov dword [esp + 4], edi
add al, al
mov esi, ecx
sbb esi, 3
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x20], edx
lea eax, [ebp - 0x1c0]
mov edx, 0x2001f
mov dword [esp + 0x1c], eax
xor eax, eax
sub esi, ebx
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov eax, dword [ebp - 0x1c0]
sub esp, 0x24
test eax, eax
jne 0x40a640
mov eax, dword [ebp + 8]
mov ecx, str.SoftwareClasses_s_shellopencommand
mov dword [esp + 4], ecx
mov dword [esp], edi
mov dword [esp + 8], eax
call sub.msvcrt.dll_sprintf
mov dword [ebx], 0x22312522
mov ecx, ebx
mov dword [ebx + 4], 0x2a2520
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
mov eax, edx
and eax, 0x80808080
je 0x409cb2
and edx, 0x8080
jne 0x409cd8
shr eax, 0x10
add ecx, 2
mov dword [esp + 4], edi
add al, al
mov esi, ecx
sbb esi, 3
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ecx
lea edx, [ebp - 0x1c4]
mov ecx, 0x2001f
mov dword [esp + 0x1c], edx
xor edx, edx
sub esi, ebx
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov edx, dword [ebp - 0x1c4]
sub esp, 0x24
test edx, edx
jne 0x40a5f9
mov edx, dword [ebp + 8]
mov eax, str.SoftwareClasses_s_shell_runascommand
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 8], edx
call sub.msvcrt.dll_sprintf
mov dword [ebx], 0x22312522
mov ecx, ebx
mov dword [ebx + 4], 0x2a2520
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
mov eax, edx
and eax, 0x80808080
je 0x409d5a
and edx, 0x8080
jne 0x409d80
shr eax, 0x10
add ecx, 2
mov dword [esp + 4], edi
add al, al
mov esi, ecx
sbb esi, 3
xor eax, eax
xor edx, edx
mov dword [esp + 0x20], eax
lea ecx, [ebp - 0x1c8]
mov eax, 0x2001f
mov dword [esp + 0x1c], ecx
xor ecx, ecx
sub esi, ebx
mov dword [esp + 0x18], edx
xor edx, edx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov ecx, dword [ebp - 0x1c8]
sub esp, 0x24
test ecx, ecx
jne 0x40a5b5
mov ecx, dword [ebp + 8]
mov edx, str.SoftwareClasses_s_shell_runascommand
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [esp + 8], ecx
call sub.msvcrt.dll_sprintf
mov dword [ebx], 0x22312522
mov ecx, ebx
mov dword [ebx + 4], 0x2a2520
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
mov eax, edx
and eax, 0x80808080
je 0x409e02
and edx, 0x8080
jne 0x409e28
shr eax, 0x10
add ecx, 2
mov dword [esp + 4], edi
add al, al
mov esi, ecx
sbb esi, 3
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x20], edx
lea eax, [ebp - 0x1cc]
mov edx, 0x2001f
mov dword [esp + 0x1c], eax
xor eax, eax
sub esi, ebx
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov edi, dword [ebp - 0x1cc]
sub esp, 0x24
test edi, edi
jne 0x40a458
mov esi, dword [ebp + 8]
mov dword [esp], ebx
mov dword [esp + 4], esi
call sub.msvcrt.dll_strcpy
mov ecx, ebx
mov edi, dword [ecx]
add ecx, 4
lea edx, [edi - 0x1010101]
not edi
and edx, edi
mov eax, edx
and eax, 0x80808080
je 0x409e94
and edx, 0x8080
jne 0x409eba
shr eax, 0x10
add ecx, 2
mov dword [esp], 0x80000001
add al, al
mov esi, ecx
sbb esi, 3
lea edi, [ebp - 0x1d0]
xor ecx, ecx
mov dword [esp + 0x20], ecx
xor edx, edx
mov eax, 0x2001f
mov dword [esp + 0x1c], edi
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x18], edx
xor edx, edx
sub esi, ebx
mov dword [esp + 0x14], eax
mov eax, str.SoftwareClasses.exe
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov ecx, dword [ebp - 0x1d0]
sub esp, 0x24
test ecx, ecx
jne 0x40a414
mov dword [ebx], 0x6c707061
mov ecx, ebx
mov dword [ebx + 4], 0x74616369
mov dword [ebx + 8], 0x2f6e6f69
mov dword [ebx + 0xc], 0x736d2d78
mov dword [ebx + 0x10], 0x6e776f64
mov dword [ebx + 0x14], 0x64616f6c
mov byte [ebx + 0x18], 0
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
mov eax, edx
and eax, 0x80808080
je 0x409f49
and edx, 0x8080
jne 0x409f6f
shr eax, 0x10
add ecx, 2
mov dword [esp], 0x80000001
add al, al
mov esi, ecx
sbb esi, 3
lea ecx, [ebp - 0x1d4]
xor eax, eax
mov dword [esp + 0x20], eax
xor edi, edi
mov edx, 0x2001f
mov dword [esp + 0x1c], ecx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], edi
xor edi, edi
sub esi, ebx
mov dword [esp + 0x14], edx
mov edx, str.SoftwareClasses.exe
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], edx
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov eax, dword [ebp - 0x1d4]
sub esp, 0x24
test eax, eax
jne 0x40a3cd
mov word [ebx], 0x3125
mov ecx, ebx
mov byte [ebx + 2], 0
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
mov eax, edx
and eax, 0x80808080
je 0x409fda
and edx, 0x8080
jne 0x40a000
shr eax, 0x10
add ecx, 2
mov dword [esp], 0x80000001
add al, al
mov esi, ecx
sbb esi, 3
lea eax, [ebp - 0x1d8]
xor edx, edx
mov dword [esp + 0x20], edx
xor ecx, ecx
mov edi, 0x2001f
mov dword [esp + 0x1c], eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x18], ecx
xor ecx, ecx
sub esi, ebx
mov dword [esp + 0x14], edi
mov edi, str.SoftwareClasses.exeDefaultIcon
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov edx, dword [ebp - 0x1d8]
sub esp, 0x24
test edx, edx
jne 0x40a389
mov word [ebx], 0x22
mov eax, dword [ebp + 0xc]
mov edi, 0x31252220
mov dword [esp], ebx
mov esi, 0x2a252022
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcat
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov dword [eax + ebx], 0x532f2022
mov ecx, 0x54524154
mov dword [eax + ebx + 4], ecx
mov ecx, ebx
mov dword [eax + ebx + 8], edi
mov dword [eax + ebx + 0xc], esi
mov byte [eax + ebx + 0x10], 0
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
mov eax, edx
and eax, 0x80808080
je 0x40a0a5
and edx, 0x8080
jne 0x40a0cb
shr eax, 0x10
add ecx, 2
mov dword [esp], 0x80000001
add al, al
mov esi, ecx
sbb esi, 3
lea eax, [ebp - 0x1dc]
xor edx, edx
mov dword [esp + 0x20], edx
xor ecx, ecx
mov edi, 0x2001f
mov dword [esp + 0x1c], eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x18], ecx
xor ecx, ecx
sub esi, ebx
mov dword [esp + 0x14], edi
mov edi, str.SoftwareClasses.exe_shellopencommand
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov edx, dword [ebp - 0x1dc]
sub esp, 0x24
test edx, edx
jne 0x40a345
mov dword [ebx], 0x22312522
mov ecx, ebx
mov dword [ebx + 4], 0x2a2520
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
mov eax, edx
and eax, 0x80808080
je 0x40a13a
and edx, 0x8080
jne 0x40a160
shr eax, 0x10
add ecx, 2
mov dword [esp], 0x80000001
add al, al
mov esi, ecx
sbb esi, 3
lea edx, [ebp - 0x1e0]
xor edi, edi
mov dword [esp + 0x20], edi
xor eax, eax
mov ecx, 0x2001f
mov dword [esp + 0x1c], edx
xor edi, edi
xor edx, edx
mov dword [esp + 0x18], eax
xor eax, eax
sub esi, ebx
mov dword [esp + 0x14], ecx
mov ecx, str.SoftwareClasses.exe_shellopencommand
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov edi, dword [ebp - 0x1e0]
sub esp, 0x24
test edi, edi
jne 0x40a2fe
mov dword [ebx], 0x22312522
mov ecx, ebx
mov dword [ebx + 4], 0x2a2520
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
mov eax, edx
and eax, 0x80808080
je 0x40a1cf
and edx, 0x8080
jne 0x40a1f5
shr eax, 0x10
add ecx, 2
mov dword [esp], 0x80000001
add al, al
mov esi, ecx
sbb esi, 3
lea edi, [ebp - 0x1e4]
xor ecx, ecx
mov dword [esp + 0x20], ecx
xor edx, edx
mov eax, 0x2001f
mov dword [esp + 0x1c], edi
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x18], edx
xor edx, edx
sub esi, ebx
mov dword [esp + 0x14], eax
mov eax, str.SoftwareClasses.exe_shell_runascommand
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov ecx, dword [ebp - 0x1e4]
sub esp, 0x24
test ecx, ecx
jne 0x40a49f
mov dword [ebx], 0x22312522
mov ecx, ebx
mov dword [ebx + 4], 0x2a2520
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
mov eax, edx
and eax, 0x80808080
je 0x40a264
and edx, 0x8080
jne 0x40a28a
shr eax, 0x10
add ecx, 2
mov dword [esp], 0x80000001
add al, al
mov esi, ecx
sbb esi, 3
lea ecx, [ebp - 0x1e8]
xor eax, eax
mov dword [esp + 0x20], eax
xor edi, edi
mov edx, 0x2001f
mov dword [esp + 0x1c], ecx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], edi
xor edi, edi
sub esi, ebx
mov dword [esp + 0x14], edx
mov edx, str.SoftwareClasses.exe_shell_runascommand
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], edx
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov eax, dword [ebp - 0x1e8]
sub esp, 0x24
test eax, eax
jne 0x40a4e3
mov esp, dword [ebp - 0x1f0]
mov esp, dword [ebp - 0x1ec]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x14], esi
xor edx, edx
mov eax, str.IsolatedCommand
mov dword [esp + 8], edx
mov edi, 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x1e0]
mov dword [esp], ecx
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, dword [ebp - 0x1e0]
sub esp, 0x18
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x40a1c0
mov dword [esp + 0x14], esi
mov edx, 1
xor ecx, ecx
mov dword [esp + 0xc], edx
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], eax
mov edi, dword [ebp - 0x1dc]
mov dword [esp], edi
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, dword [ebp - 0x1dc]
sub esp, 0x18
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x40a12b
mov dword [esp + 0x14], esi
mov edx, 1
xor ecx, ecx
mov dword [esp + 0xc], edx
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], eax
mov edi, dword [ebp - 0x1d8]
mov dword [esp], edi
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, dword [ebp - 0x1d8]
sub esp, 0x18
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x40a060
mov dword [esp + 0x14], esi
xor ecx, ecx
mov eax, 1
mov dword [esp + 8], ecx
mov edi, str.Content_Type
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], edi
mov edx, dword [ebp - 0x1d4]
mov dword [esp], edx
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, dword [ebp - 0x1d4]
sub esp, 0x18
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x409fcf
mov dword [esp + 0x14], esi
mov ecx, 1
xor edx, edx
mov dword [esp + 0xc], ecx
xor edi, edi
mov dword [esp + 4], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x1d0]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, dword [ebp - 0x1d0]
sub esp, 0x18
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x409f1a
mov dword [esp + 0x14], esi
mov edx, 1
mov ecx, str.IsolatedCommand
mov dword [esp + 0xc], edx
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], eax
mov edi, dword [ebp - 0x1cc]
mov dword [esp], edi
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, dword [ebp - 0x1cc]
sub esp, 0x18
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x409e83
mov dword [esp + 0x14], esi
mov ecx, 1
xor edx, edx
mov dword [esp + 0xc], ecx
xor edi, edi
mov dword [esp + 4], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x1e4]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, dword [ebp - 0x1e4]
sub esp, 0x18
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x40a255
mov dword [esp + 0x10], ebx
mov ecx, 1
mov edx, str.IsolatedCommand
mov dword [esp + 0xc], ecx
xor edi, edi
mov dword [esp + 4], edx
mov dword [esp + 0x14], esi
mov dword [esp + 8], edi
mov esi, dword [ebp - 0x1e8]
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegSetValueExA
mov ebx, dword [ebp - 0x1e8]
sub esp, 0x18
mov dword [esp], ebx
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x40a2ea
mov dword [esp + 0x14], esi
mov ecx, str.Content_Type
mov esi, 1
mov dword [esp + 0xc], esi
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x1b8]
mov dword [esp], edx
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, dword [ebp - 0x1b8]
sub esp, 0x18
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x409b09
mov dword [esp + 0x14], esi
xor ecx, ecx
xor edx, edx
mov dword [esp + 8], ecx
mov esi, 1
mov dword [esp + 0xc], esi
mov dword [esp + 4], edx
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x1b4]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, dword [ebp - 0x1b4]
sub esp, 0x18
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x409a41
mov dword [esp + 0x14], esi
xor ecx, ecx
mov esi, 1
mov dword [esp + 0xc], esi
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x1c8]
mov dword [esp], edx
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, dword [ebp - 0x1c8]
sub esp, 0x18
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x409ddb
mov dword [esp + 0x14], esi
xor ecx, ecx
mov edx, str.IsolatedCommand
mov dword [esp + 8], ecx
mov esi, 1
mov dword [esp + 0xc], esi
mov dword [esp + 4], edx
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x1c4]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, dword [ebp - 0x1c4]
sub esp, 0x18
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x409d33
mov dword [esp + 0x14], esi
xor edx, edx
mov esi, 1
mov dword [esp + 0xc], esi
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x1c0]
mov dword [esp], ecx
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, dword [ebp - 0x1c0]
sub esp, 0x18
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x409c8b
mov dword [esp + 0x14], esi
xor ecx, ecx
xor edx, edx
mov dword [esp + 8], ecx
mov esi, 1
mov dword [esp + 0xc], esi
mov dword [esp + 4], edx
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x1bc]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, dword [ebp - 0x1bc]
sub esp, 0x18
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x409bad