Function at 0x43c960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59de5d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x639354]
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 eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], 0
mov esi, dword [str.SOFTWAREClasses]
mov dword [ebp - 4], 0
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x43cfdf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
test esi, esi
je 0x43ca02
test esi, 0xffff0000
jne 0x43c9ec
movzx eax, si
lea ecx, [ebp - 0x38]
push eax
call fcn.00429d90
jmp 0x43ca0e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c9f1
sub ecx, edx
sar ecx, 1
jmp 0x43ca04
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.0042a060
push 1
push 0x5b9804
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.004299d0
test edi, edi
jne 0x43ca29
xor ecx, ecx
jmp 0x43ca3f
mov ecx, edi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ca30
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x38]
call fcn.004299d0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x43ca59
push eax
call ebx
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push dword [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43cae8
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43cae1
mov edx, dword [ebp - 0x40]
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43ca91
sub edx, edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp - 0x40]
push 1
push 0
push 0x5b8734
push eax
call edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43cae1
push 2
push 0x5b8734
push 1
push 0
push str.URL_Protocol
push eax
call edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43cae1
push eax
call ebx
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00515a60
add esp, 4
mov edi, eax
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 3
jb 0x43cb02
mov edi, dword [edi]
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x43cfe9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 4
test edi, edi
je 0x43cb51
test edi, 0xffff0000
jne 0x43cb3a
movzx eax, di
lea ecx, [ebp - 0x40]
push eax
call fcn.00429d90
jmp 0x43cb5d
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cb40
sub ecx, edx
sar ecx, 1
jmp 0x43cb53
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.0042a060
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x43cb9b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43cb91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cff3
push edx
push ecx
call fcn.0055c524
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push str.DefaultIcon
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x30]
push esi
push eax
mov dword [ebp - 0x14], 7
call fcn.00448a10
add esp, 0xc
xor edi, edi
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43cbd2
push eax
call ebx
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov ecx, 1
cmove edi, ecx
mov edx, dword [ebp - 0x30]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43cc1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
mov edi, dword [ebp - 0x40]
je 0x43ccfc
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x43cff8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, 0x5bb918
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
test eax, 0xffff0000
jne 0x43cc5e
movzx eax, ax
push eax
call fcn.00429d90
jmp 0x43cc6a
push 1
push 0x5bb918
call fcn.0042a060
push dword [edi - 0xc]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
push edi
call fcn.004299d0
push 3
push 0x5bb91c
lea ecx, [ebp - 0x34]
call fcn.004299d0
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
test eax, eax
je 0x43ccd7
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x30], ecx
jmp 0x43cca0
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43cca0
sub edx, dword [ebp - 0x30]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push esi
push 1
push 0
push 0x5b8734
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43ccd7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 6
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43ccf9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x38]
push 0x5bb924
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00429810
add esp, 0xc
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43cd24
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov ecx, 1
mov eax, 0
cmove eax, ecx
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x34]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43cd76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x30], 0
je 0x43cdaf
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43cda8
push 0xa
push str.open
push 1
push 0
push 0x5b8734
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43cda8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], 0
push str._shellopen
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00429810
push str.command
push dword [eax]
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 9
push eax
call fcn.00448a10
add esp, 0x18
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43cdeb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov ecx, 1
mov eax, 0
cmove eax, ecx
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x34]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ce3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ce5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x30], 0
je 0x43cf84
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
push 0x5bb918
push eax
call fcn.00438f60
push 0x5bb918
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
push eax
call fcn.00429810
add esp, 0x18
mov edx, dword [ebp - 0x48]
mov eax, ebx
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ceab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x44], 0
je 0x43cee1
push 2
push 0x5bb968
lea ecx, [ebp - 0x3c]
call fcn.004299d0
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cec6
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
call fcn.004299d0
push str.___1_
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00429810
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x43cf3b
mov edx, ecx
lea ecx, [edx + 2]
mov dword [ebp - 0x48], ecx
lea ebx, [ebx]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43cf10
sub edx, dword [ebp - 0x48]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp - 0x30]
push 1
push 0
push 0x5b8734
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x44]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43cf55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43cf63
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x3c]
mov eax, ebx
mov dword [ebp - 0x2c], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43cf84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43cf9b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43cfb0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43cfbe
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
call fcn.0056af64
push 0x80004005
call fcn.00429b60
int3