Function at 0x436cf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5969d9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x61ce74]
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.00421b80
mov ecx, eax
test ecx, ecx
je 0x4373cb
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 0x436da1
test esi, 0xffff0000
jne 0x436d83
movzx eax, si
lea ecx, [ebp - 0x38]
push eax
call fcn.00426130
jmp 0x436dad
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x436d90
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436d90
sub ecx, edx
sar ecx, 1
jmp 0x436da3
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.004263f0
push 1
push 0x5b14ac
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00425dc0
test edi, edi
jne 0x436dc8
xor ecx, ecx
jmp 0x436ddf
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436dd0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x38]
call fcn.00425dc0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x436df9
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 0x436e88
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x436e81
mov edx, dword [ebp - 0x40]
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x436e31
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 0x5b0144
push eax
call edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x436e81
push 2
push 0x5b0144
push 1
push 0
push str.URL_Protocol
push eax
call edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x436e81
push eax
call ebx
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x28]
push eax
call fcn.004df670
add esp, 4
mov edi, eax
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 3
jb 0x436ea2
mov edi, dword [edi]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4373d5
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 0x436ef1
test edi, 0xffff0000
jne 0x436eda
movzx eax, di
lea ecx, [ebp - 0x40]
push eax
call fcn.00426130
jmp 0x436efd
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436ee0
sub ecx, edx
sar ecx, 1
jmp 0x436ef3
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.004263f0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x436f3b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436f31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4373df
push edx
push ecx
call fcn.0053d0af
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.004430a0
add esp, 0xc
xor edi, edi
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x436f72
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 0x436fbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
mov edi, dword [ebp - 0x40]
je 0x43709c
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4373e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov eax, 0x5b3b0c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
test eax, 0xffff0000
jne 0x436ffe
movzx eax, ax
push eax
call fcn.00426130
jmp 0x43700a
push 1
push 0x5b3b0c
call fcn.004263f0
push dword [edi - 0xc]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
push edi
call fcn.00425dc0
push 3
push 0x5b3b10
lea ecx, [ebp - 0x30]
call fcn.00425dc0
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
test eax, eax
je 0x437077
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x34], ecx
jmp 0x437040
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x437040
sub edx, dword [ebp - 0x34]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push esi
push 1
push 0
push 0x5b0144
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x437077
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 0x437099
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x38]
push 0x5b3b18
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00425c00
add esp, 0xc
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4370c4
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 0x437116
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x34], 0
je 0x43714f
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x437148
push 0xa
push str.open
push 1
push 0
push 0x5b0144
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x437148
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.00425c00
push str.command
push dword [eax]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 9
push eax
call fcn.004430a0
add esp, 0x18
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43718b
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 0x4371dd
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 0x4371fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x34], 0
je 0x437368
mov ecx, dword [edi - 0x10]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x43721b
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x437231
call fcn.00421b80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x4373ee
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 0x5b3b0c
push eax
call fcn.00427890
push 0x5b3b0c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00425c00
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 0x43728a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x44], 0
je 0x4372c0
push 2
push 0x5b3b5c
lea ecx, [ebp - 0x3c]
call fcn.00425dc0
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4372a5
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
call fcn.00425dc0
push str.___1_
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00425c00
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
test eax, eax
je 0x43731b
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 0x4372f0
sub edx, dword [ebp - 0x4c]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp - 0x48]
push 1
push 0
push 0x5b0144
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 0x437335
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x437343
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 0x437368
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 0x437383
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 0x43739c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4373aa
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.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
call fcn.0054b0c3
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
int3