Function at 0x408d70
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 0x408d90
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 0x408e71
test bl, bl
jne 0x408df1
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.00421960
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 0x408ebe
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 0x408ea8
mov bl, 1
mov edi, dword [ebp - 0x1ac]
mov dword [esp], edi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x408de6
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.00421960
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.00421960
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 0x408f30
and edx, 0x8080
jne 0x408f56
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 0x409ae1
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 0x408ff8
and edx, 0x8080
jne 0x40901e
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 0x409a9a
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 0x40909c
and edx, 0x8080
jne 0x4090c2
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 0x409bf4
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 0x40917a
and edx, 0x8080
jne 0x4091a0
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 0x409bb0
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 0x409222
and edx, 0x8080
jne 0x409248
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 0x409b69
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 0x4092ca
and edx, 0x8080
jne 0x4092f0
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 0x409b25
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 0x409372
and edx, 0x8080
jne 0x409398
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 0x4099c8
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 0x409404
and edx, 0x8080
jne 0x40942a
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 0x409984
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 0x4094b9
and edx, 0x8080
jne 0x4094df
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 0x40993d
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 0x40954a
and edx, 0x8080
jne 0x409570
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 0x4098f9
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 0x409615
and edx, 0x8080
jne 0x40963b
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 0x4098b5
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 0x4096aa
and edx, 0x8080
jne 0x4096d0
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 0x40986e
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 0x40973f
and edx, 0x8080
jne 0x409765
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 0x409a0f
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 0x4097d4
and edx, 0x8080
jne 0x4097fa
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 0x409a53
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 0x409730
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 0x40969b
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 0x4095d0
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 0x40953f
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 0x40948a
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 0x4093f3
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 0x4097c5
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 0x40985a
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 0x409079
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 0x408fb1
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 0x40934b
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 0x4092a3
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 0x4091fb
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 0x40911d