Function at 0x41c130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4695f5
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x7b2d00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x11
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.SOFTWARESuperMan
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x70], xmm0
call fcn.00408570
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 0x41cc3d
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x104], eax
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push 0x4a11fc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00408570
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push 0x4a1208
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.00408570
push 0
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push 0x4acfb7
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00408900
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x104]
call fcn.00418730
cmp byte [ebp - 0x74], 1
mov byte [ebp - 4], 5
jne 0x41c990
push 0x50
lea eax, [ebp - 0xdc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xdc]
call fcn.004166e0
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.0041b900
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
call fcn.00417580
lea ecx, [ebp - 0x28]
call fcn.00406fd0
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.00415440
add esp, 8
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
cmova ecx, dword [ebp - 0x28]
push 0x46f2f0
push dword [ebp - 0x18]
push ecx
push eax
call fcn.00415b50
add esp, 0xc
push eax
call fcn.00415440
sub esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004070e0
call fcn.0041b020
add esp, 0x18
test al, al
je 0x41c680
lea ecx, [ebp - 0xdc]
call fcn.004166e0
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.0041abf0
lea ecx, [ebp - 0xdc]
call fcn.00417580
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xfc]
cmp dword [ebp - 0xe8], 7
mov esi, dword [ebp - 0x104]
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 0x41c3cf
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x41cc42
mov ecx, dword [ebp - 0xe8]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x41c415
mov edx, dword [ebp - 0xfc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c40b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c40b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041d132
add esp, 8
lea ecx, [ebp - 0xdc]
call fcn.004166e0
mov ecx, eax
cmp dword [0x7b376c], 0xf
mov edx, 0x7b3758
mov eax, dword [0x7b3768]
cmova edx, dword [0x7b3758]
add eax, edx
mov byte [ebp - 4], 9
push eax
push edx
lea eax, [ebp - 0xfc]
push eax
call fcn.0041abf0
lea ecx, [ebp - 0xdc]
call fcn.00417580
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 0x41c4a5
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x41cc42
mov ecx, dword [ebp - 0xe8]
cmp ecx, 7
jbe 0x41c4e7
mov edx, dword [ebp - 0xfc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c4dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c4dd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041d132
add esp, 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsx eax, byte [ebp - 0x74]
inc eax
sub eax, 0
je 0x41c507
sub eax, 1
je 0x41c507
lea ecx, [ebp - 0x8c]
call fcn.00406dc0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x41c53b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c531
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c670
push ecx
push edx
call fcn.0041d132
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 0x41c587
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c57d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c670
push ecx
push edx
call fcn.0041d132
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 0x41c5d5
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c5cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c670
push ecx
push edx
call fcn.0041d132
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 0x41c638
cmp esi, reloc.WS2_32.dll_accept
je 0x41c638
cmp esi, reloc.WS2_32.dll_bind
je 0x41c638
cmp esi, 0x80000000
je 0x41c638
cmp esi, reloc.WS2_32.dll_getpeername
je 0x41c638
cmp esi, reloc.WS2_32.dll_getsockopt
je 0x41c638
cmp esi, reloc.WS2_32.dll_connect
je 0x41c638
cmp esi, 0x80000060
je 0x41c638
cmp esi, 0x80000050
je 0x41c638
cmp esi, reloc.WS2_32.dll_closesocket
je 0x41c638
push esi
call edi
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x41cc1b
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cc11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41cc11
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word [eax + eax]
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.00415440
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.00415440
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.00415230
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 - 0x100], eax
cmp edi, 0x7fffffff
ja 0x41cc38
cmp edi, 0xf
ja 0x41c711
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x41c763
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x41c724
mov eax, bind
jmp 0x41c72f
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xe0]
push eax
push esi
call fcn.00414a80
mov ecx, dword [ebp - 0xe0]
mov dword [esi + 0x14], ecx
lea ecx, [edi + 1]
push ecx
push dword [ebp - 0x100]
mov dword [esi], eax
push eax
mov dword [esi + 0x10], edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
call fcn.0041b020
add esp, 0x18
test al, al
je 0x41c680
lea ecx, [ebp - 0xdc]
call fcn.004166e0
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.0041abf0
lea ecx, [ebp - 0xdc]
call fcn.00417580
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xfc]
cmp dword [ebp - 0xe8], 7
mov esi, dword [ebp - 0x104]
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 0x41c7ff
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x41cc42
mov ecx, dword [ebp - 0xe8]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x41c845
mov edx, dword [ebp - 0xfc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c83b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c83b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041d132
add esp, 8
lea ecx, [ebp - 0xdc]
call fcn.004166e0
mov ecx, eax
cmp dword [0x7b376c], 0xf
mov edx, 0x7b3758
mov eax, dword [0x7b3768]
cmova edx, dword [0x7b3758]
add eax, edx
mov byte [ebp - 4], 0xd
push eax
push edx
lea eax, [ebp - 0xfc]
push eax
call fcn.0041abf0
lea ecx, [ebp - 0xdc]
call fcn.00417580
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 0x41c8d5
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x41cc42
mov ecx, dword [ebp - 0xe8]
cmp ecx, 7
jbe 0x41c917
mov edx, dword [ebp - 0xfc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c90d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c90d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041d132
add esp, 8
test esi, esi
je 0x41c4e7
cmp esi, reloc.WS2_32.dll_accept
je 0x41c977
cmp esi, reloc.WS2_32.dll_bind
je 0x41c977
cmp esi, 0x80000000
je 0x41c977
cmp esi, reloc.WS2_32.dll_getpeername
je 0x41c977
cmp esi, reloc.WS2_32.dll_getsockopt
je 0x41c977
cmp esi, reloc.WS2_32.dll_connect
je 0x41c977
cmp esi, 0x80000060
je 0x41c977
cmp esi, 0x80000050
je 0x41c977
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, reloc.WS2_32.dll_closesocket
je 0x41c97d
push esi
call edi
xor esi, esi
jmp 0x41c4ed
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x41c4ed
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.00415440
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.00415230
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 0x41cc38
cmp esi, 0xf
ja 0x41ca0b
movups xmm0, xmmword [edi]
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], 0xf
movups xmmword [ebp - 0x11c], xmm0
jmp 0x41ca68
mov eax, esi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x41ca1e
mov eax, bind
jmp 0x41ca29
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00414a80
mov ecx, dword [ebp - 0xe0]
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.004070e0
mov ecx, 0x7b3638
call fcn.00404540
mov al, byte [0x7b37c4]
mov ecx, dword [ebp - 0x108]
mov byte [ebp - 0xe1], al
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x41cad6
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41cac6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c405
push ecx
push edx
call fcn.0041d132
mov al, byte [ebp - 0xe1]
add esp, 8
test al, al
jne 0x41caf2
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.00415440
add esp, 8
jmp 0x41c990
lea ecx, [ebp - 0xdc]
call fcn.004166e0
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.0041abf0
lea ecx, [ebp - 0xdc]
call fcn.00417580
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xfc]
cmp dword [ebp - 0xe8], 7
mov esi, dword [ebp - 0x104]
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 0x41cb7e
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x41cc42
mov ecx, dword [ebp - 0xe8]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x41cbc4
mov edx, dword [ebp - 0xfc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cbba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41cbba
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041d132
add esp, 8
lea ecx, [ebp - 0xdc]
call fcn.004166e0
mov ecx, eax
cmp dword [0x7b376c], 0xf
mov edx, 0x7b3758
mov eax, dword [0x7b3768]
cmova edx, dword [0x7b3758]
add eax, edx
mov byte [ebp - 4], 0x12
push eax
push edx
lea eax, [ebp - 0xfc]
push eax
call fcn.0041abf0
lea ecx, [ebp - 0xdc]
call fcn.00417580
mov byte [ebp - 4], 0x13
jmp 0x41c88d
push ecx
push edx
call fcn.0041d132
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.0041cef6
mov esp, ebp
pop ebp
ret
call fcn.00401540
push str.RegCreateKeyExW_failed.
push eax
lea ecx, [ebp - 0x118]
call fcn.004168a0
push 0x4b125c
lea eax, [ebp - 0x118]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3