Function at 0x434a10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4825e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
push edi
push 0x11
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
push str.SOFTWARESuperman
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x9c], 0
movups xmmword [ebp - 0xb0], xmm0
call fcn.004083c0
cmp dword [ebp - 0x9c], 7
lea ecx, [ebp - 0x10]
push 0
push ecx
push 0
push 0x2011f
push 0
push 0
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0xb0]
push 0
push eax
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x435493
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x94], esi
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push 0x495dc8
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], eax
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], eax
call fcn.004083c0
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push 0x495dd4
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], 0
call fcn.004083c0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x94]
call fcn.00432560
cmp byte [ebp - 0xb4], 1
mov byte [ebp - 4], 5
jne 0x435240
lea ecx, [ebp - 0x11c]
call fcn.00431260
cmp dword [ebp - 0xb8], 7
lea ecx, [ebp - 0xcc]
mov eax, dword [ebp - 0xbc]
cmova ecx, dword [ebp - 0xcc]
mov byte [ebp - 4], 6
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004344b0
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 5
call fcn.00431950
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x434bc4
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x434bba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434ce7
push ecx
push edx
call fcn.00435aee
add esp, 8
movups xmm0, xmmword [ebp - 0x30]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str._____License:
movups xmmword [ebp - 0x48], xmm0
push 0x433d70
movq xmm0, qword [ebp - 0x20]
movq qword [ebp - 0x38], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push eax
call fcn.004134f0
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x48]
push dword [ebp - 0x38]
cmova ecx, dword [ebp - 0x48]
push ecx
push eax
call fcn.0041f8a0
push 0x4a1af7
push eax
call fcn.004134f0
add esp, 0x1c
mov ecx, eax
push 0x41fe70
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
sub esp, 0x18
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.00406f80
call fcn.00434420
add esp, 0x18
test al, al
je 0x434f60
lea ecx, [ebp - 0x11c]
call fcn.00431260
mov ecx, eax
cmp dword [ebp - 0x34], 0xf
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x38]
cmova edx, dword [ebp - 0x48]
add eax, edx
mov byte [ebp - 4], 7
push eax
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004340c0
lea ecx, [ebp - 0x11c]
call fcn.00431950
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 7
mov byte [ebp - 4], 8
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x64], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x78]
cmova eax, dword [ebp - 0x78]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x434cb7
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x435498
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x434cf7
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x434ced
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x434ced
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
lea ecx, [ebp - 0x11c]
call fcn.00431260
mov ecx, eax
cmp dword [0x7abc34], 0xf
mov edx, 0x7abc20
mov eax, dword [0x7abc30]
cmova edx, dword [0x7abc20]
add eax, edx
mov byte [ebp - 4], 9
push eax
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004340c0
lea ecx, [ebp - 0x11c]
call fcn.00431950
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 7
mov byte [ebp - 4], 0xa
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x7c], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x90]
cmova eax, dword [ebp - 0x90]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x434d7e
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x435498
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x434dba
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x434db0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x434db0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsx eax, byte [ebp - 0xb4]
inc eax
sub eax, 0
je 0x434ddd
sub eax, 1
je 0x434ddd
lea ecx, [ebp - 0xcc]
call fcn.00406c00
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x434e11
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x434e07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434f52
push ecx
push edx
call fcn.00435aee
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 7
jbe 0x434e60
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x434e56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434f52
push ecx
push edx
call fcn.00435aee
add esp, 8
mov ecx, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
cmp ecx, 7
jbe 0x434eb1
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x434ea7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434f52
push ecx
push edx
call fcn.00435aee
add esp, 8
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
test esi, esi
je 0x434f14
cmp esi, reloc.WS2_32.dll_accept
je 0x434f14
cmp esi, reloc.WS2_32.dll_bind
je 0x434f14
cmp esi, 0x80000000
je 0x434f14
cmp esi, reloc.WS2_32.dll_getpeername
je 0x434f14
cmp esi, reloc.WS2_32.dll_getsockopt
je 0x434f14
cmp esi, reloc.WS2_32.dll_connect
je 0x434f14
cmp esi, 0x80000060
je 0x434f14
cmp esi, 0x80000050
je 0x434f14
cmp esi, reloc.WS2_32.dll_closesocket
je 0x434f14
push esi
call edi
mov ecx, dword [ebp - 0x9c]
cmp ecx, 7
jbe 0x43547c
mov edx, dword [ebp - 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x435472
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x435472
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop dword [eax + eax]
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
mov dword [ebp - 0x38], 0
cmova eax, dword [ebp - 0x48]
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.004134f0
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.004134f0
lea eax, [ebp - 0x48]
push eax
push dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.00430ce0
mov edi, esp
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ebp - 0x34], 0xf
mov eax, dword [ebp - 0x38]
cmova ecx, dword [ebp - 0x48]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x18], ecx
cmp eax, 0x7fffffff
ja 0x43548e
cmp eax, 0xf
ja 0x434ff3
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
jmp 0x43503d
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x435004
mov eax, accept
jmp 0x43500f
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.00416190
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x14], ecx
mov dword [edi], eax
lea ecx, [edx + 1]
mov dword [edi + 0x10], edx
push ecx
push dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
call fcn.00434420
add esp, 0x18
test al, al
je 0x434f60
lea ecx, [ebp - 0x11c]
call fcn.00431260
mov ecx, eax
cmp dword [ebp - 0x34], 0xf
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x38]
cmova edx, dword [ebp - 0x48]
add eax, edx
mov byte [ebp - 4], 0xb
push eax
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004340c0
lea ecx, [ebp - 0x11c]
call fcn.00431950
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 7
mov byte [ebp - 4], 0xc
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x64], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x78]
cmova eax, dword [ebp - 0x78]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4350c4
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x435498
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x435104
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4350fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4350fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
lea ecx, [ebp - 0x11c]
call fcn.00431260
mov ecx, eax
cmp dword [0x7abc34], 0xf
mov edx, 0x7abc20
mov eax, dword [0x7abc30]
cmova edx, dword [0x7abc20]
add eax, edx
mov byte [ebp - 4], 0xd
push eax
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004340c0
lea ecx, [ebp - 0x11c]
call fcn.00431950
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 7
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x7c], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x90]
cmova eax, dword [ebp - 0x90]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x43518b
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x435498
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x4351c7
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4351bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4351bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
test esi, esi
je 0x434dba
cmp esi, reloc.WS2_32.dll_accept
je 0x435227
cmp esi, reloc.WS2_32.dll_bind
je 0x435227
cmp esi, 0x80000000
je 0x435227
cmp esi, reloc.WS2_32.dll_getpeername
je 0x435227
cmp esi, reloc.WS2_32.dll_getsockopt
je 0x435227
cmp esi, reloc.WS2_32.dll_connect
je 0x435227
cmp esi, 0x80000060
je 0x435227
cmp esi, 0x80000050
je 0x435227
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, reloc.WS2_32.dll_closesocket
je 0x43522d
push esi
call edi
xor esi, esi
jmp 0x434dc0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x434dc0
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.004134f0
lea eax, [ebp - 0x48]
push eax
push dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.00430ce0
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0x48]
add esp, 0x10
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x34], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
cmova eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x18], eax
cmp edi, 0x7fffffff
ja 0x43548e
cmp edi, 0xf
ja 0x4352ac
movups xmm0, xmmword [eax]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], 0xf
movups xmmword [ebp - 0x60], xmm0
jmp 0x4352f6
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x4352bf
mov eax, accept
jmp 0x4352ca
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00416190
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], ecx
lea ecx, [edi + 1]
push ecx
push dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
push eax
mov dword [ebp - 0x50], edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00406f80
mov ecx, 0x7abb00
call fcn.00404390
mov al, byte [0x7abc8c]
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x435355
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x435348
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434ce7
push ecx
push edx
call fcn.00435aee
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
jne 0x435371
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.004134f0
add esp, 8
jmp 0x435240
lea ecx, [ebp - 0x11c]
call fcn.00431260
mov ecx, eax
cmp dword [ebp - 0x34], 0xf
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x38]
cmova edx, dword [ebp - 0x48]
add eax, edx
mov byte [ebp - 4], 0x10
push eax
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004340c0
lea ecx, [ebp - 0x11c]
call fcn.00431950
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 7
mov byte [ebp - 4], 0x11
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x64], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x78]
cmova eax, dword [ebp - 0x78]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4353e8
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x435498
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x435428
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43541e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43541e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
lea ecx, [ebp - 0x11c]
call fcn.00431260
mov ecx, eax
cmp dword [0x7abc34], 0xf
mov edx, 0x7abc20
mov eax, dword [0x7abc30]
cmova edx, dword [0x7abc20]
add eax, edx
mov byte [ebp - 4], 0x12
push eax
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004340c0
lea ecx, [ebp - 0x11c]
call fcn.00431950
mov byte [ebp - 4], 0x13
jmp 0x435149
push ecx
push edx
call fcn.00435aee
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004015f0
push str.RegCreateKeyExW_failed.
push eax
lea ecx, [ebp - 0x5c]
call fcn.00431410
push 0x4a7c6c
lea eax, [ebp - 0x5c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3