Function at 0x43bad0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596279
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x62819c]
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 - 0x4c], 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], 0
mov esi, dword [str.SOFTWAREClasses]
mov dword [ebp - 4], 0
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x43c1ab
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 0x43bb81
test esi, 0xffff0000
jne 0x43bb63
movzx eax, si
lea ecx, [ebp - 0x38]
push eax
call fcn.004295b0
jmp 0x43bb8d
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x43bb70
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bb70
sub ecx, edx
sar ecx, 1
jmp 0x43bb83
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00429870
push 1
push 0x5ad728
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00429240
test edi, edi
jne 0x43bba8
xor ecx, ecx
jmp 0x43bbbf
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bbb0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x38]
call fcn.00429240
mov eax, dword [ebp - 0x2c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x43bbd9
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 0x43bc68
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43bc61
mov edx, dword [ebp - 0x40]
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43bc11
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 0x5ac698
push eax
call edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43bc61
push 2
push 0x5ac698
push 1
push 0
push str.URL_Protocol
push eax
call edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43bc61
push eax
call ebx
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x28]
push eax
call fcn.0050e9e0
add esp, 4
mov edi, eax
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 3
jb 0x43bc82
mov edi, dword [edi]
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x43c1b5
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 0x43bcd1
test edi, 0xffff0000
jne 0x43bcba
movzx eax, di
lea ecx, [ebp - 0x40]
push eax
call fcn.004295b0
jmp 0x43bcdd
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bcc0
sub ecx, edx
sar ecx, 1
jmp 0x43bcd3
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.00429870
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x43bd1b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bd11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c1bf
push edx
push ecx
call fcn.00546044
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push str.DefaultIcon
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x34]
push esi
push eax
mov dword [ebp - 0x14], 7
call fcn.00447160
add esp, 0xc
xor edi, edi
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43bd52
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 - 0x30]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov ecx, 1
cmove edi, ecx
mov edx, dword [ebp - 0x34]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43bd9b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
mov edi, dword [ebp - 0x40]
je 0x43be7c
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x43c1c4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov eax, 0x5afe30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
test eax, 0xffff0000
jne 0x43bdde
movzx eax, ax
push eax
call fcn.004295b0
jmp 0x43bdea
push 1
push 0x5afe30
call fcn.00429870
push dword [edi - 0xc]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
push edi
call fcn.00429240
push 3
push 0x5afe34
lea ecx, [ebp - 0x30]
call fcn.00429240
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
test eax, eax
je 0x43be57
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x34], ecx
jmp 0x43be20
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43be20
sub edx, dword [ebp - 0x34]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push esi
push 1
push 0
push 0x5ac698
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43be57
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 0x43be79
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x38]
push 0x5afe3c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00429080
add esp, 0xc
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43bea4
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 - 0x34]
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 - 0x34], eax
mov edx, dword [ebp - 0x30]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43bef6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x34], 0
je 0x43bf2f
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43bf28
push 0xa
push str.open
push 1
push 0
push 0x5ac698
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43bf28
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.00429080
push str.command
push dword [eax]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 9
push eax
call fcn.00447160
add esp, 0x18
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43bf6b
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 - 0x34]
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 - 0x34], eax
mov edx, dword [ebp - 0x30]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43bfbd
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 0x43bfdb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x34], 0
je 0x43c148
mov ecx, dword [edi - 0x10]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x43bffb
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x43c011
call fcn.00428a90
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x43c1ce
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [edi - 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], 1
push edi
push 1
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 0x5afe30
push eax
call fcn.0042ae30
push 0x5afe30
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00429080
add esp, 0x20
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c06a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x44], 0
je 0x43c0a0
push 2
push 0x5afe80
lea ecx, [ebp - 0x3c]
call fcn.00429240
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c085
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
call fcn.00429240
push str.___1_
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00429080
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
test eax, eax
je 0x43c0fb
mov edx, ecx
lea ecx, [edx + 2]
mov dword [ebp - 0x4c], ecx
lea esp, [esp]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43c0d0
sub edx, dword [ebp - 0x4c]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp - 0x48]
push 1
push 0
push 0x5ac698
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x34]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c115
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43c123
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
mov byte [ebp - 4], 6
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c148
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43c163
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43c17c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43c18a
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.00545ec7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
push 0x80004005
call fcn.004293d0
call fcn.00555394
push 0x80004005
call fcn.004293d0
push 0x80004005
call fcn.004293d0
int3