Function at 0x43ba70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579110
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5fb61c]
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]
xor ebx, ebx
mov dword [ebp - 0x38], eax
mov esi, edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x30], ebx
mov edx, dword [str.SOFTWAREClasses]
push edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.00422540
push 1
push 0x592324
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00422060
cmp esi, ebx
jne 0x43badb
xor eax, eax
jmp 0x43baef
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43bae0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.00422060
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x3c]
cmp eax, ebx
je 0x43bb0a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x38]
push ebx
lea eax, [ebp - 0x30]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push ecx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x43bb86
mov esi, dword [ebp - 0x30]
cmp esi, ebx
je 0x43bb83
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43bb36
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push edi
push 1
push ebx
push 0x591ff8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call esi
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x43bb83
push 2
push 0x591ff8
push 1
push ebx
push str.URL_Protocol
push eax
call esi
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x43bb83
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.004b38b0
add esp, 4
mov esi, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], esi
jb 0x43bba2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x48]
call fcn.00422540
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], esi
jb 0x43bbc0
mov ecx, dword [ebp - 0x2c]
push ecx
call int.0042bfd0
add esp, 4
mov eax, dword [ebp - 0x3c]
push 0x595ba8
push eax
lea ecx, [ebp - 0x34]
xor edx, edx
push ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00443050
mov esi, dword [eax]
mov eax, dword [ebp - 0x30]
add esp, 0xc
xor edi, edi
cmp eax, ebx
je 0x43bbf7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x38]
push ebx
lea edx, [ebp - 0x30]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push eax
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x43bc1c
mov edi, 1
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bc3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x43bcda
push 0x595ba4
lea ecx, [ebp - 0x34]
call fcn.00422540
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.00422060
push 3
push 0x595b9c
lea ecx, [ebp - 0x34]
call fcn.00422060
mov edx, dword [ebp - 0x30]
cmp edx, ebx
je 0x43bcb4
mov esi, dword [ebp - 0x34]
mov eax, esi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43bc82
sub eax, edi
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push ebx
push 0x591ff8
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x43bcb4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43bcda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str._shell
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.004221d0
mov esi, dword [eax]
mov eax, dword [ebp - 0x30]
add esp, 0xc
xor edi, edi
cmp eax, ebx
je 0x43bd01
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x38]
push ebx
lea eax, [ebp - 0x30]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push ecx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x43bd26
mov edi, 1
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43bd45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x43bd77
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x43bd74
push 0xa
push str.open
push 1
push ebx
push 0x591ff8
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x43bd74
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], ebx
push str._shellopen
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004221d0
mov eax, dword [eax]
push str.command
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 6
call fcn.00443050
mov esi, dword [eax]
mov eax, dword [ebp - 0x30]
add esp, 0x18
xor edi, edi
cmp eax, ebx
je 0x43bdb3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x38]
push ebx
lea ecx, [ebp - 0x30]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push edx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x43bdd8
mov edi, 1
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bdf7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43be1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x43bf47
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x40]
push 0x595ba4
push edx
call fcn.0043a1b0
push 0x595ba4
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 7
call fcn.004221d0
add esp, 0x18
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43be6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x44]
cmp esi, ebx
je 0x43bea9
push 2
push 0x595b50
lea ecx, [ebp - 0x38]
call fcn.00422060
mov eax, esi
lea edx, [eax + 2]
jmp 0x43be90
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43be90
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00422060
push str.___1_
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.004221d0
mov edi, dword [ebp - 0x30]
mov edx, dword [eax]
add esp, 0xc
cmp edi, ebx
je 0x43bef4
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43bed0
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push ebx
push 0x591ff8
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bf13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x43bf21
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bf47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bf6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bf8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x43bf9a
push eax
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.005332ca
mov esp, ebp
pop ebp
ret