Function at 0x460fb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af775
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x82b540]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.SOFTWAREAutoBot
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x70], xmm0
call fcn.00408e80
cmp dword [ebp - 0x5c], 7
lea ecx, [ebp - 0xe0]
push 0
push ecx
push 0
push 0x2011f
push 0
push 0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0x70]
push 0
push eax
push reloc.WS2_32.dll_accept
mov dword [ebp - 0xe0], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x461aad
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe0], eax
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push 0x4ec28c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00408e80
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push 0x4ec298
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.00408e80
push 0
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push 0x4f8037
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00409210
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xe0]
call fcn.0045ddc0
cmp byte [ebp - 0x74], 1
mov byte [ebp - 4], 5
jne 0x461800
push 0x50
lea eax, [ebp - 0xdc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xdc]
call fcn.0045c290
cmp dword [ebp - 0x78], 7
lea ecx, [ebp - 0x8c]
mov eax, dword [ebp - 0x7c]
cmova ecx, dword [ebp - 0x8c]
mov byte [ebp - 4], 6
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00460a20
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
call fcn.0045ce30
lea ecx, [ebp - 0x28]
call fcn.004078e0
movups xmm0, xmmword [ebp - 0xfc]
push str._n_____License:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0xec]
movq qword [ebp - 0x18], xmm0
call fcn.0044fc40
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
push ecx
push eax
call fcn.00450130
push 0x4b65a4
push eax
call fcn.0044fc40
add esp, 4
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004079f0
call fcn.00460770
add esp, 0x18
test al, al
je 0x4614f0
lea ecx, [ebp - 0xdc]
call fcn.0045c290
mov ecx, eax
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
add eax, edx
mov byte [ebp - 4], 7
push eax
push edx
lea eax, [ebp - 0xfc]
push eax
call fcn.004601a0
lea ecx, [ebp - 0xdc]
call fcn.0045ce30
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xfc]
cmp dword [ebp - 0xe8], 7
mov esi, dword [ebp - 0xe0]
cmova ecx, dword [ebp - 0xfc]
cmp dword [ebp - 0x2c], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
cmova eax, dword [ebp - 0x40]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x461249
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x461ab2
mov ecx, dword [ebp - 0xe8]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x46128f
mov edx, dword [ebp - 0xfc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x461285
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x461285
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00461e86
add esp, 8
lea ecx, [ebp - 0xdc]
call fcn.0045c290
mov ecx, eax
cmp dword [0x82d15c], 0xf
mov edx, 0x82d148
mov eax, dword [0x82d158]
cmova edx, dword [0x82d148]
add eax, edx
mov byte [ebp - 4], 9
push eax
push edx
lea eax, [ebp - 0xfc]
push eax
call fcn.004601a0
lea ecx, [ebp - 0xdc]
call fcn.0045ce30
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xfc]
cmp dword [ebp - 0xe8], 7
mov byte [ebp - 4], 0xa
cmova ecx, dword [ebp - 0xfc]
cmp dword [ebp - 0x44], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x46131f
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x461ab2
mov ecx, dword [ebp - 0xe8]
cmp ecx, 7
jbe 0x461361
mov edx, dword [ebp - 0xfc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x461357
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x461357
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00461e86
add esp, 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsx eax, byte [ebp - 0x74]
inc eax
sub eax, 0
je 0x461381
sub eax, 1
je 0x461381
lea ecx, [ebp - 0x8c]
call fcn.004076a0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4613b5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4613ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614ea
push ecx
push edx
call fcn.00461e86
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 7
jbe 0x461401
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4613f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614ea
push ecx
push edx
call fcn.00461e86
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 7
jbe 0x46144f
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x461445
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614ea
push ecx
push edx
call fcn.00461e86
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test esi, esi
je 0x4614b2
cmp esi, reloc.WS2_32.dll_accept
je 0x4614b2
cmp esi, reloc.WS2_32.dll_bind
je 0x4614b2
cmp esi, 0x80000000
je 0x4614b2
cmp esi, reloc.WS2_32.dll_getpeername
je 0x4614b2
cmp esi, reloc.WS2_32.dll_getsockopt
je 0x4614b2
cmp esi, reloc.WS2_32.dll_connect
je 0x4614b2
cmp esi, 0x80000060
je 0x4614b2
cmp esi, 0x80000050
je 0x4614b2
cmp esi, reloc.WS2_32.dll_closesocket
je 0x4614b2
push esi
call edi
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x461a8b
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x461a81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x461a81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmova eax, dword [ebp - 0x28]
push str._n_____License_FAILED
mov byte [eax], 0
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.0044fc40
push str._n_____Enter_license:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.0044fc40
lea eax, [ebp - 0x28]
push eax
push dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.0045b830
mov esi, esp
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x14], 0xf
mov edi, dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x104], eax
cmp edi, 0x7fffffff
ja 0x461aa8
cmp edi, 0xf
ja 0x461581
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x4615d3
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x461594
mov eax, closesocket
jmp 0x46159f
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x100]
push eax
push esi
call fcn.0044fe90
mov ecx, dword [ebp - 0x100]
mov dword [esi + 0x14], ecx
lea ecx, [edi + 1]
push ecx
push dword [ebp - 0x104]
mov dword [esi], eax
push eax
mov dword [esi + 0x10], edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
call fcn.00460770
add esp, 0x18
test al, al
je 0x4614f0
lea ecx, [ebp - 0xdc]
call fcn.0045c290
mov ecx, eax
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
add eax, edx
mov byte [ebp - 4], 0xb
push eax
push edx
lea eax, [ebp - 0xfc]
push eax
call fcn.004601a0
lea ecx, [ebp - 0xdc]
call fcn.0045ce30
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xfc]
cmp dword [ebp - 0xe8], 7
mov esi, dword [ebp - 0xe0]
cmova ecx, dword [ebp - 0xfc]
cmp dword [ebp - 0x2c], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
cmova eax, dword [ebp - 0x40]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x46166f
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x461ab2
mov ecx, dword [ebp - 0xe8]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x4616b5
mov edx, dword [ebp - 0xfc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4616ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4616ab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00461e86
add esp, 8
lea ecx, [ebp - 0xdc]
call fcn.0045c290
mov ecx, eax
cmp dword [0x82d15c], 0xf
mov edx, 0x82d148
mov eax, dword [0x82d158]
cmova edx, dword [0x82d148]
add eax, edx
mov byte [ebp - 4], 0xd
push eax
push edx
lea eax, [ebp - 0xfc]
push eax
call fcn.004601a0
lea ecx, [ebp - 0xdc]
call fcn.0045ce30
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xfc]
cmp dword [ebp - 0xe8], 7
cmova ecx, dword [ebp - 0xfc]
cmp dword [ebp - 0x44], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x461745
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x461ab2
mov ecx, dword [ebp - 0xe8]
cmp ecx, 7
jbe 0x461787
mov edx, dword [ebp - 0xfc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46177d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46177d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00461e86
add esp, 8
test esi, esi
je 0x461361
cmp esi, reloc.WS2_32.dll_accept
je 0x4617e7
cmp esi, reloc.WS2_32.dll_bind
je 0x4617e7
cmp esi, 0x80000000
je 0x4617e7
cmp esi, reloc.WS2_32.dll_getpeername
je 0x4617e7
cmp esi, reloc.WS2_32.dll_getsockopt
je 0x4617e7
cmp esi, reloc.WS2_32.dll_connect
je 0x4617e7
cmp esi, 0x80000060
je 0x4617e7
cmp esi, 0x80000050
je 0x4617e7
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, reloc.WS2_32.dll_closesocket
je 0x4617ed
push esi
call edi
xor esi, esi
jmp 0x461367
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x461367
push str._n_____Enter_license:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.0044fc40
lea eax, [ebp - 0x28]
push eax
push dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.0045b830
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
add esp, 0x10
mov dword [ebp - 0x10c], 0
cmp dword [ebp - 0x14], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x11c], xmm0
cmova edi, dword [ebp - 0x28]
mov dword [ebp - 0x108], 0
cmp esi, 0x7fffffff
ja 0x461aa8
cmp esi, 0xf
ja 0x46187b
movups xmm0, xmmword [edi]
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], 0xf
movups xmmword [ebp - 0x11c], xmm0
jmp 0x4618d8
mov eax, esi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x46188e
mov eax, closesocket
jmp 0x461899
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0044fe90
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x108], ecx
lea ecx, [esi + 1]
push ecx
push edi
push eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x10c], esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x11c]
mov ecx, esp
push eax
call fcn.004079f0
mov ecx, 0x82d028
call fcn.00404cb0
mov al, byte [0x82d1b4]
mov ecx, dword [ebp - 0x108]
mov byte [ebp - 0xe1], al
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x461946
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x461936
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46127f
push ecx
push edx
call fcn.00461e86
mov al, byte [ebp - 0xe1]
add esp, 8
test al, al
jne 0x461962
push str._n_____License_FAILED
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.0044fc40
add esp, 8
jmp 0x461800
lea ecx, [ebp - 0xdc]
call fcn.0045c290
mov ecx, eax
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
add eax, edx
mov byte [ebp - 4], 0x10
push eax
push edx
lea eax, [ebp - 0xfc]
push eax
call fcn.004601a0
lea ecx, [ebp - 0xdc]
call fcn.0045ce30
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xfc]
cmp dword [ebp - 0xe8], 7
mov esi, dword [ebp - 0xe0]
cmova ecx, dword [ebp - 0xfc]
cmp dword [ebp - 0x2c], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x11
cmova eax, dword [ebp - 0x40]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4619ee
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x461ab2
mov ecx, dword [ebp - 0xe8]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x461a34
mov edx, dword [ebp - 0xfc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x461a2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x461a2a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00461e86
add esp, 8
lea ecx, [ebp - 0xdc]
call fcn.0045c290
mov ecx, eax
cmp dword [0x82d15c], 0xf
mov edx, 0x82d148
mov eax, dword [0x82d158]
cmova edx, dword [0x82d148]
add eax, edx
mov byte [ebp - 4], 0x12
push eax
push edx
lea eax, [ebp - 0xfc]
push eax
call fcn.004601a0
lea ecx, [ebp - 0xdc]
call fcn.0045ce30
mov byte [ebp - 4], 0x13
jmp 0x4616fd
push ecx
push edx
call fcn.00461e86
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461b92
mov esp, ebp
pop ebp
ret
call fcn.00401730
push str.RegCreateKeyExW_failed.
push eax
lea ecx, [ebp - 0x118]
call fcn.0045c450
push 0x4fdec0
lea eax, [ebp - 0x118]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3