Function at 0x409770
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 0x409790
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 0x409871
test bl, bl
jne 0x4097f1
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.004f1df0
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 0x4098be
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 0x4098a8
mov bl, 1
mov edi, dword [ebp - 0x1ac]
mov dword [esp], edi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x4097e6
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.004f1df0
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.004f1df0
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 0x409930
and edx, 0x8080
jne 0x409956
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 0x40a4e1
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 0x4099f8
and edx, 0x8080
jne 0x409a1e
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 0x40a49a
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 0x409a9c
and edx, 0x8080
jne 0x409ac2
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 0x40a5f4
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 0x409b7a
and edx, 0x8080
jne 0x409ba0
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 0x40a5b0
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 0x409c22
and edx, 0x8080
jne 0x409c48
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 0x40a569
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 0x409cca
and edx, 0x8080
jne 0x409cf0
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 0x40a525
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 0x409d72
and edx, 0x8080
jne 0x409d98
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 0x40a3c8
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 0x409e04
and edx, 0x8080
jne 0x409e2a
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 0x40a384
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 0x409eb9
and edx, 0x8080
jne 0x409edf
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 0x40a33d
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 0x409f4a
and edx, 0x8080
jne 0x409f70
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 0x40a2f9
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 0x40a015
and edx, 0x8080
jne 0x40a03b
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 0x40a2b5
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 0x40a0aa
and edx, 0x8080
jne 0x40a0d0
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 0x40a26e
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 0x40a13f
and edx, 0x8080
jne 0x40a165
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 0x40a40f
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 0x40a1d4
and edx, 0x8080
jne 0x40a1fa
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 0x40a453
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 0x40a130
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 0x40a09b
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 0x409fd0
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 0x409f3f
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 0x409e8a
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 0x409df3
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 0x40a1c5
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 0x40a25a
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 0x409a79
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 0x4099b1
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 0x409d4b
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 0x409ca3
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 0x409bfb
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 0x409b1d