Function at 0x41d560
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b041
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x480040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.SOFTWARENexus
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x70], xmm0
call fcn.00408df0
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 0x41e2f2
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe0], eax
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push str.auth
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00408df0
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push 0x46cab4
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.00408df0
push 0
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push 0x47883f
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00409180
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00418dc0
cmp byte [ebp - 0x74], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 5
jne 0x41dcf0
push 0x50
lea eax, [ebp - 0xdc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xdc]
call fcn.004170d0
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 - 0x108]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0041cd30
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
call fcn.00417da0
lea ecx, [ebp - 0x28]
call fcn.00407850
movups xmm0, xmmword [ebp - 0x108]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str._n____License:
movups xmmword [ebp - 0x28], xmm0
push 0x415a60
movq xmm0, qword [ebp - 0xf8]
movq qword [ebp - 0x18], 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.004153c0
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
push ecx
push eax
call fcn.004169c0
push 0x46cac0
push eax
call fcn.004153c0
add esp, 4
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00407960
call fcn.0041c450
add esp, 0x18
test al, al
je 0x41d860
lea ecx, [ebp - 0xdc]
call fcn.004170d0
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 - 0x108]
push eax
call fcn.0041be40
lea ecx, [ebp - 0xdc]
call fcn.00417da0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00418d60
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 5
call fcn.00407640
lea ecx, [ebp - 0xdc]
call fcn.004170d0
mov ecx, eax
cmp dword [0x480a1c], 0xf
mov edx, 0x480a08
mov eax, dword [0x480a18]
cmova edx, dword [0x480a08]
add eax, edx
mov byte [ebp - 4], 9
push eax
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0041be40
lea ecx, [ebp - 0xdc]
call fcn.00417da0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00418d60
lea ecx, [ebp - 0x108]
call fcn.00407640
mov esi, dword [ebp - 0xe0]
jmp 0x41e149
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmova eax, dword [ebp - 0x28]
push 0x415a60
mov byte [eax], 0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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 0xf
xorps xmm0, xmm0
mov dword [ebp - 0xf0], eax
push str._nLicense_Failed
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x12c], 0
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x128], 0
call fcn.00409180
mov dword [ebp - 0x124], 0x1e
mov edx, dword [ebp - 0x128]
lea ecx, [ebp - 0x13c]
mov edi, dword [ebp - 0x13c]
lea esi, [ebp - 0x13c]
mov eax, dword [ebp - 0x12c]
cmp edx, 0xf
mov byte [ebp - 4], 0xb
cmova ecx, edi
mov dword [ebp - 0xe8], edi
cmova esi, edi
add eax, ecx
cmp esi, eax
je 0x41d930
mov edi, eax
nop
movzx eax, byte [esi]
push eax
push dword [ebp - 0xf0]
call fcn.00416620
add esp, 8
mov ecx, eax
push 0x416d00
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_____]
inc esi
cmp esi, edi
jne 0x41d900
mov edi, dword [ebp - 0xe8]
mov edx, dword [ebp - 0x128]
mov byte [ebp - 4], 5
cmp edx, 0xf
jbe 0x41d964
lea ecx, [edx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x41d95a
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dc72
push ecx
push edi
call fcn.0041eb1b
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x415a60
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 0xf
xorps xmm0, xmm0
mov dword [ebp - 0xf0], eax
push str._nEnter_license:
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x148], 0
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x144], 0
call fcn.00409180
mov dword [ebp - 0x140], 0x1e
mov edx, dword [ebp - 0x144]
lea ecx, [ebp - 0x158]
mov edi, dword [ebp - 0x158]
lea esi, [ebp - 0x158]
mov eax, dword [ebp - 0x148]
cmp edx, 0xf
mov byte [ebp - 4], 0xc
cmova ecx, edi
mov dword [ebp - 0xe4], edi
cmova esi, edi
add eax, ecx
cmp esi, eax
je 0x41da20
mov edi, eax
nop
movzx eax, byte [esi]
push eax
push dword [ebp - 0xf0]
call fcn.00416620
add esp, 8
mov ecx, eax
push 0x416d00
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_____]
inc esi
cmp esi, edi
jne 0x41d9f0
mov edi, dword [ebp - 0xe4]
mov edx, dword [ebp - 0x144]
mov byte [ebp - 4], 5
cmp edx, 0xf
jbe 0x41da54
lea ecx, [edx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x41da4a
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dc72
push ecx
push edi
call fcn.0041eb1b
add esp, 8
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.004151d0
sub esp, 0x10
lea eax, [ebp - 0x28]
mov esi, esp
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 - 0xe8], eax
cmp edi, 0x7fffffff
ja 0x41e2ed
cmp edi, 0xf
ja 0x41dab3
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x41db05
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x41dac6
mov eax, closesocket
jmp 0x41dad1
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xe4]
push eax
push esi
call fcn.00415600
mov ecx, dword [ebp - 0xe4]
mov dword [esi + 0x14], ecx
lea ecx, [edi + 1]
push ecx
push dword [ebp - 0xe8]
mov dword [esi], eax
push eax
mov dword [esi + 0x10], edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
call fcn.0041c450
add esp, 0x18
test al, al
je 0x41d860
lea ecx, [ebp - 0xdc]
call fcn.004170d0
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], 0xd
push eax
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0041be40
lea ecx, [ebp - 0xdc]
call fcn.00417da0
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0x108]
cmp dword [ebp - 0xf4], 7
mov esi, dword [ebp - 0xe0]
cmova ecx, dword [ebp - 0x108]
cmp dword [ebp - 0x2c], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
cmova eax, dword [ebp - 0x40]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41dba1
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x41e2f7
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 5
call fcn.00407640
lea ecx, [ebp - 0xdc]
call fcn.004170d0
mov ecx, eax
cmp dword [0x480a1c], 0xf
mov edx, 0x480a08
mov eax, dword [0x480a18]
cmova edx, dword [0x480a08]
add eax, edx
mov byte [ebp - 4], 0xf
push eax
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0041be40
lea ecx, [ebp - 0xdc]
call fcn.00417da0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0x108]
cmp dword [ebp - 0xf4], 7
cmova ecx, dword [ebp - 0x108]
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 0x41dc40
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x41e2f7
mov ecx, dword [ebp - 0xf4]
cmp ecx, 7
jbe 0x41dc82
mov edx, dword [ebp - 0x108]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41dc78
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41dc78
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041eb1b
add esp, 8
test esi, esi
je 0x41e143
cmp esi, reloc.WS2_32.dll_accept
je 0x41dce2
cmp esi, reloc.WS2_32.dll_bind
je 0x41dce2
cmp esi, 0x80000000
je 0x41dce2
cmp esi, reloc.WS2_32.dll_getpeername
je 0x41dce2
cmp esi, reloc.WS2_32.dll_getsockopt
je 0x41dce2
cmp esi, reloc.WS2_32.dll_connect
je 0x41dce2
cmp esi, 0x80000060
je 0x41dce2
cmp esi, 0x80000050
je 0x41dce2
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, reloc.WS2_32.dll_closesocket
je 0x41dce8
push esi
call edi
xor esi, esi
jmp 0x41e149
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x41e149
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x415a60
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 0xf
xorps xmm0, xmm0
mov dword [ebp - 0xf0], eax
push str._nEnter_license:
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x164], 0
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x160], 0
call fcn.00409180
mov dword [ebp - 0x15c], 0x1e
mov edx, dword [ebp - 0x160]
lea ecx, [ebp - 0x174]
mov edi, dword [ebp - 0x174]
lea esi, [ebp - 0x174]
mov eax, dword [ebp - 0x164]
cmp edx, 0xf
mov byte [ebp - 4], 0x11
cmova ecx, edi
mov dword [ebp - 0xe4], edi
cmova esi, edi
add eax, ecx
cmp esi, eax
je 0x41ddb0
mov edi, eax
nop word [eax + eax]
movzx eax, byte [esi]
push eax
push dword [ebp - 0xf0]
call fcn.00416620
add esp, 8
mov ecx, eax
push 0x416d00
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_____]
inc esi
cmp esi, edi
jne 0x41dd80
mov edi, dword [ebp - 0xe4]
mov edx, dword [ebp - 0x160]
mov byte [ebp - 4], 5
cmp edx, 0xf
jbe 0x41dde4
lea ecx, [edx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x41ddda
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dc72
push ecx
push edi
call fcn.0041eb1b
add esp, 8
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.004151d0
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
add esp, 8
mov dword [ebp - 0x110], 0
cmp dword [ebp - 0x14], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x120], xmm0
cmova edi, dword [ebp - 0x28]
mov dword [ebp - 0x10c], 0
cmp esi, 0x7fffffff
ja 0x41e2ed
cmp esi, 0xf
ja 0x41de4f
movups xmm0, xmmword [edi]
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], 0xf
movups xmmword [ebp - 0x120], xmm0
jmp 0x41deac
mov eax, esi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x41de62
mov eax, closesocket
jmp 0x41de6d
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00415600
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x10c], ecx
lea ecx, [esi + 1]
push ecx
push edi
push eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x110], esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x120]
mov ecx, esp
push eax
call fcn.00407960
mov ecx, 0x4808e8
call fcn.00404c50
mov al, byte [0x480a74]
mov ecx, dword [ebp - 0x10c]
mov byte [ebp - 0xe9], al
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x41df1a
mov edx, dword [ebp - 0x120]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41df0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dc72
push ecx
push edx
call fcn.0041eb1b
mov al, byte [ebp - 0xe9]
add esp, 8
test al, al
jne 0x41e024
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x415a60
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 0xf
xorps xmm0, xmm0
mov dword [ebp - 0xf0], eax
push str._nLicense_Failed
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x180], 0
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x17c], 0
call fcn.00409180
mov dword [ebp - 0x178], 0x1e
mov edx, dword [ebp - 0x17c]
lea ecx, [ebp - 0x190]
mov edi, dword [ebp - 0x190]
lea esi, [ebp - 0x190]
mov eax, dword [ebp - 0x180]
cmp edx, 0xf
mov byte [ebp - 4], 0x17
cmova ecx, edi
mov dword [ebp - 0xe4], edi
cmova esi, edi
add eax, ecx
cmp esi, eax
je 0x41dfe0
mov edi, eax
nop dword [eax]
movzx eax, byte [esi]
push eax
push dword [ebp - 0xf0]
call fcn.00416620
add esp, 8
mov ecx, eax
push 0x416d00
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_____]
inc esi
cmp esi, edi
jne 0x41dfb0
mov edi, dword [ebp - 0xe4]
mov edx, dword [ebp - 0x17c]
mov byte [ebp - 4], 5
cmp edx, 0xf
jbe 0x41e014
lea ecx, [edx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x41e00a
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dc72
push ecx
push edi
call fcn.0041eb1b
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41dcf0
lea ecx, [ebp - 0xdc]
call fcn.004170d0
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], 0x13
push eax
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0041be40
lea ecx, [ebp - 0xdc]
call fcn.00417da0
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0x108]
cmp dword [ebp - 0xf4], 7
mov esi, dword [ebp - 0xe0]
cmova ecx, dword [ebp - 0x108]
cmp dword [ebp - 0x2c], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x14
cmova eax, dword [ebp - 0x40]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41e0b0
push str.Cannot_write_string_value:_RegSetValueExW_failed.
jmp 0x41e2f7
mov ecx, dword [ebp - 0xf4]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x41e0f6
mov edx, dword [ebp - 0x108]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e0ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41e0ec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041eb1b
add esp, 8
lea ecx, [ebp - 0xdc]
call fcn.004170d0
mov ecx, eax
cmp dword [0x480a1c], 0xf
mov edx, 0x480a08
mov eax, dword [0x480a18]
cmova edx, dword [0x480a08]
add eax, edx
mov byte [ebp - 4], 0x15
push eax
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0041be40
lea ecx, [ebp - 0xdc]
call fcn.00417da0
mov byte [ebp - 4], 0x16
jmp 0x41dbf8
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsx eax, byte [ebp - 0x74]
inc eax
sub eax, 0
je 0x41e163
sub eax, 1
je 0x41e163
lea ecx, [ebp - 0x8c]
call fcn.00407640
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x41e197
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e18d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2c0
push ecx
push edx
call fcn.0041eb1b
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 0x41e1e3
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e1d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2c0
push ecx
push edx
call fcn.0041eb1b
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 0x41e231
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e227
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2c0
push ecx
push edx
call fcn.0041eb1b
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 0x41e294
cmp esi, reloc.WS2_32.dll_accept
je 0x41e294
cmp esi, reloc.WS2_32.dll_bind
je 0x41e294
cmp esi, 0x80000000
je 0x41e294
cmp esi, reloc.WS2_32.dll_getpeername
je 0x41e294
cmp esi, reloc.WS2_32.dll_getsockopt
je 0x41e294
cmp esi, reloc.WS2_32.dll_connect
je 0x41e294
cmp esi, 0x80000060
je 0x41e294
cmp esi, 0x80000050
je 0x41e294
cmp esi, reloc.WS2_32.dll_closesocket
je 0x41e294
push esi
call edi
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x41e2d0
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e2c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41e2c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041eb1b
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.0041ec12
mov esp, ebp
pop ebp
ret
call fcn.004016e0
push str.RegCreateKeyExW_failed.
push eax
lea ecx, [ebp - 0x11c]
call fcn.00417290
push 0x47cc50
lea eax, [ebp - 0x11c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3