Function at 0x45dc90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3941
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4c9614]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
cmp eax, edi
sete cl
test cl, cl
je 0x45dcf0
mov dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x45e2b1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x45e2b1
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x244], esp
cmp eax, edi
je 0x45dd0a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
call fcn.00416250
add esp, 4
mov byte [ebp - 0x244], al
cmp esi, 0x9c6
jne 0x45dd62
push 4
test al, al
je 0x45dd39
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 1
push eax
jmp 0x45dd46
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x244], edi
push ecx
push 4
push str.SB_RightMenu
push 0x4b3ff4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x45e29b
cmp esi, 0x9c7
jne 0x45de0c
push 4
test al, al
je 0x45dda8
lea edx, [ebp - 0x244]
push edx
push 4
push str.SB_Mark_Proc
push 0x4b3ff4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x244], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x168
push 0xa8
jmp 0x45ddd6
lea eax, [ebp - 0x244]
push eax
push 4
push str.SB_Mark_Proc
push 0x4b3ff4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x244], edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x168
push 0xa9
push 0x41c
call fcn.00455850
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x3e8
push edi
push edi
push edi
push str.SBX_ShowTips
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push eax
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
jmp 0x45e29b
cmp esi, 0x9c8
jne 0x45de58
mov ecx, dword [ebp - 0x244]
push ecx
mov ecx, str.SB_TrojanTips
call fcn.0045edf0
add esp, 4
cmp byte [ebp - 0x244], 0
push 0x168
je 0x45de3d
push 0xac
jmp 0x45de42
push 0xad
push 0x41c
call fcn.00455850
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45e29b
cmp esi, 0x9c9
jne 0x45e12d
call fcn.00436e70
mov eax, dword [eax + 0x6c]
cmp eax, edi
je 0x45dea2
movzx edx, byte [ebp - 0x244]
push edx
call eax
mov esi, eax
add esp, 4
cmp esi, 1
jne 0x45dea4
xor eax, eax
cmp byte [ebp - 0x244], al
push edi
push 0x1f4
setne al
push edi
push edi
push eax
push str.SBX_DisNet
jmp 0x45ddf5
xor esi, esi
cmp byte [ebp - 0x244], 0
sete cl
movzx edx, cl
push edx
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x244], esp
cmp eax, edi
je 0x45decf
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00415e00
add esp, 8
lea ecx, [ebp - 0x240]
push ecx
call fcn.0040fa10
cmp esi, 0xffffffff
jne 0x45df9c
push ecx
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x244], esp
push ecx
mov dword [eax], edi
mov eax, esp
mov dword [eax], edi
mov edx, dword [ebx + 0x30]
mov dword [ebp - 0x244], esp
push edx
lea esi, [ebp - 0x214]
call fcn.00412210
cmp eax, edi
je 0x45e118
or ecx, 0xffffffff
mov eax, str.IDS_WINDOW_TITLE
lea esi, [ebp - 0x260]
call fcn.0042ecd0
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 8
jb 0x45df3f
mov ecx, dword [eax + 4]
jmp 0x45df42
lea ecx, [eax + 4]
lea edi, [ebp - 0x240]
call 0x4117e0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.00401420
mov eax, dword [ebx + 0x5c]
mov edi, str.IDS_SET_ND_FAIL_REBOOT_TO_RESOLVE
lea esi, [ebp - 0x260]
call fcn.00404810
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], 8
jb 0x45df7e
mov eax, dword [eax + 4]
jmp 0x45df81
add eax, 4
push 0
push 0
push eax
push 0
lea ecx, [ebp - 0x240]
call int.00411960
mov byte [ebp - 4], 1
jmp 0x45e100
cmp esi, 0xfffffffe
jne 0x45e055
push ecx
mov byte [ebp - 4], 4
mov eax, esp
mov dword [ebp - 0x244], esp
push ecx
mov dword [eax], edi
mov eax, esp
mov dword [eax], edi
mov edx, dword [ebx + 0x30]
mov dword [ebp - 0x244], esp
push edx
lea esi, [ebp - 0x214]
call fcn.00412210
cmp eax, edi
je 0x45e118
or ecx, 0xffffffff
mov eax, str.IDS_WINDOW_TITLE
lea esi, [ebp - 0x260]
call fcn.0042ecd0
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 8
jb 0x45dff8
mov ecx, dword [eax + 4]
jmp 0x45dffb
lea ecx, [eax + 4]
lea edi, [ebp - 0x240]
call 0x4117e0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 4
call fcn.00401420
mov eax, dword [ebx + 0x5c]
mov edi, str.IDS_SET_ND_FAIL_REOPEN_ND_TO_RESOLVE
lea esi, [ebp - 0x260]
call fcn.00404810
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], 8
jb 0x45e037
mov eax, dword [eax + 4]
jmp 0x45e03a
add eax, 4
push 0
push 0
push eax
push 0
lea ecx, [ebp - 0x240]
call int.00411960
mov byte [ebp - 4], 4
jmp 0x45e100
push ecx
mov byte [ebp - 4], 7
mov eax, esp
mov dword [ebp - 0x244], esp
push ecx
mov dword [eax], edi
mov eax, esp
mov dword [eax], edi
mov edx, dword [ebx + 0x30]
mov dword [ebp - 0x244], esp
push edx
lea esi, [ebp - 0x214]
call fcn.00412210
cmp eax, edi
je 0x45e118
or ecx, 0xffffffff
mov eax, str.IDS_WINDOW_TITLE
lea esi, [ebp - 0x260]
call fcn.0042ecd0
mov byte [ebp - 4], 8
cmp dword [eax + 0x18], 8
jb 0x45e0a8
mov ecx, dword [eax + 4]
jmp 0x45e0ab
lea ecx, [eax + 4]
lea edi, [ebp - 0x240]
call 0x4117e0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 7
call fcn.00401420
mov eax, dword [ebx + 0x5c]
mov edi, str.IDS_SET_ND_FAIL_REINSTALL_TO_RESOLVE
lea esi, [ebp - 0x260]
call fcn.00404810
mov byte [ebp - 4], 9
cmp dword [eax + 0x18], 8
jb 0x45e0e7
mov eax, dword [eax + 4]
jmp 0x45e0ea
add eax, 4
push 0
push 0
push eax
push 0
lea ecx, [ebp - 0x240]
call int.00411960
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x260]
call fcn.00401420
push 1
lea esi, [ebp - 0x240]
call fcn.004116c0
lea eax, [ebp - 0x240]
push eax
mov byte [ebp - 4], 0
call fcn.0040fbb0
jmp 0x45e29b
cmp esi, 0xa29
jne 0x45e19d
push edi
mov ecx, ebx
call fcn.0045e2f0
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
lea ecx, [ebp - 0x244]
push ecx
push 4
push str.SB_Clear
push 0x4b3ff4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x244], 1
call esi
call fcn.00436e70
mov eax, dword [eax + 0x2c]
cmp eax, edi
je 0x45e17c
push 1
call eax
add esp, 4
push 4
lea edx, [ebp - 0x244]
push edx
push 4
push str.SB_ChangeC
push 0x4b3ff4
push reloc.OLEAUT32.dll_SysReAllocString
call esi
jmp 0x45e29b
cmp esi, 0xa2a
jne 0x45e1c2
push edi
mov ecx, ebx
call fcn.0045e2f0
push 4
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 2
push eax
jmp 0x45e206
cmp esi, 0xa2b
jne 0x45e231
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, esp
mov dword [ebp - 0x244], esp
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x45e1e7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00416250
add esp, 4
mov ecx, ebx
push eax
call fcn.0045e2f0
push 4
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x244], edi
push ecx
push 4
push str.SB_Clear
push 0x4b3ff4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00436e70
mov eax, dword [eax + 0x2c]
cmp eax, edi
je 0x45e29b
push edi
call eax
add esp, 4
jmp 0x45e29b
cmp esi, 0xa2d
jne 0x45e24b
push 1
test al, al
je 0x45e28f
call fcn.00436e70
mov ecx, 1
jmp 0x45e296
cmp esi, 0xa2e
jne 0x45e257
push 2
jmp 0x45e23b
cmp esi, 0xa2f
jne 0x45e2cf
push edi
test al, al
je 0x45e281
call fcn.00436e70
mov ecx, 1
call fcn.00454fe0
push 3
call fcn.00436e70
mov ecx, 1
jmp 0x45e296
call fcn.00436e70
xor ecx, ecx
call fcn.00454fe0
push 3
call fcn.00436e70
xor ecx, ecx
call fcn.00454fe0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45e2b1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e6eb
mov esp, ebp
pop ebp
ret 8
cmp esi, 0xa30
jne 0x45e2de
push 4
jmp 0x45e23b
cmp esi, 0xa31
jne 0x45e29b
push 5
jmp 0x45e23b