Function at 0x100016c0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fab2
mov eax, dword fs:[0]
push eax
sub esp, 0x404
mov eax, dword [0x10028014]
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 dword [ebp - 0x3ec], 0
mov edx, 4
xor ecx, ecx
nop
mov al, byte [ecx + str.LDTC_HXNPIKSC_C_YYDJchhxsCcDLWVDJwZFIN_A_l]
xor al, dl
mov byte [ebp + ecx - 0x394], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2d
jb 0x10001700
mov byte [ebp - 0x367], 0
mov dword [ebp - 4], 0
cmp byte [ebp - 0x394], 0
mov dword [ebp - 0x3b4], 0xf
mov dword [ebp - 0x3b8], 0
mov byte [ebp - 0x3c8], 0
jne 0x10001751
xor ecx, ecx
jmp 0x10001769
lea ecx, [ebp - 0x394]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001760
sub ecx, edx
push ecx
lea eax, [ebp - 0x394]
push eax
lea ecx, [ebp - 0x3c8]
call fcn.10016580
mov dword [ebp - 0x3cc], 0xf
mov dword [ebp - 0x3d0], 0
mov byte [ebp - 0x3e0], 0
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3f4]
cmp dword [ebp - 0x3b4], 0x10
lea eax, [ebp - 0x3c8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmovae eax, dword [ebp - 0x3c8]
push ecx
push 0x20019
push 0
push eax
push connect
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1000194f
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
xor esi, esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x3e4], 0
nop word [eax + eax]
push 0xff
lea eax, [ebp - 0x220]
push eax
push esi
push dword [ebp - 0x3f4]
call edi
test eax, eax
jne 0x1000193d
lea eax, [ebp - 0x220]
push eax
lea edx, [ebp - 0x3c8]
lea ecx, [ebp - 0x35c]
call fcn.100183d0
add esp, 4
lea ecx, [ebp - 0x3e8]
cmp dword [ebp - 0x348], 0x10
lea eax, [ebp - 0x35c]
cmovae eax, dword [ebp - 0x35c]
push ecx
push eax
push connect
call ebx
test eax, eax
jne 0x10001907
push 0xff
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x3e4], 0xff
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, 0xad
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1002181c]
xor al, dl
mov byte [ebp + ecx - 0x344], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x13
jb 0x100018b0
lea eax, [ebp - 0x3e4]
mov byte [ebp - 0x331], 0
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0
lea eax, [ebp - 0x344]
push eax
push dword [ebp - 0x3e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10001925
push dword [ebp - 0x3e8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x1000191f
inc eax
push eax
push dword [ebp - 0x35c]
call fcn.10016c60
inc esi
jmp 0x10001820
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x1000193d
inc eax
push eax
push dword [ebp - 0x35c]
call fcn.10016c60
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push dword [ebp - 0x3f4]
call ebx
mov edx, 0xd2
xor ecx, ecx
nop
mov al, byte [ecx + 0x10021830]
xor al, dl
mov byte [ebp + ecx - 0x344], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x13
jb 0x10001960
mov byte [ebp - 0x331], 0
mov edx, 0x8e
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x10021844]
xor al, dl
mov byte [ebp + ecx - 0x394], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2e
jb 0x10001990
lea eax, [ebp - 0x3e8]
mov byte [ebp - 0x366], 0
push eax
push 1
push 0
lea eax, [ebp - 0x394]
mov dword [ebp - 0x3e4], 0x104
push eax
push connect
call esi
test eax, eax
jne 0x10001a07
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x3ec]
push eax
push 0
lea eax, [ebp - 0x344]
push eax
push dword [ebp - 0x3e8]
call edi
push dword [ebp - 0x3e8]
call ebx
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10001a32
mov eax, dword [edx]
jmp 0x10001a34
mov eax, edx
cmp byte [ebp - 0x220], 0
mov byte [eax], 0
jne 0x10001a44
xor ecx, ecx
jmp 0x10001a5f
lea ecx, [ebp - 0x220]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001a50
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ecx
lea eax, [ebp - 0x220]
mov ecx, edx
push eax
call fcn.10016580
lea ecx, [ebp - 0x35c]
call fcn.10003c30
mov ecx, esp
mov word [ebp - 0x3e4], 0x7325
mov byte [ebp - 0x3e2], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10001410
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3e4], ax
mov byte [ebp - 0x3e2], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x10001ad8
inc eax
push eax
push dword [ebp - 0x35c]
call fcn.10016c60
mov dword [ebp - 0x33c], 0x6c697542
mov edx, 0x6a
mov dword [ebp - 0x338], 0x62614c64
xor ecx, ecx
mov byte [ebp - 0x334], 0
nop word [eax + eax]
mov al, byte [ecx + str.9_99._4._]
xor al, dl
mov byte [ebp + ecx - 0x390], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2c
jb 0x10001b00
lea eax, [ebp - 0x3e8]
mov byte [ebp - 0x364], 0
push eax
push 1
push 0
lea eax, [ebp - 0x390]
mov dword [ebp - 0x3e4], 0x104
push eax
push connect
call esi
test eax, eax
jne 0x10001b77
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x3ec]
push eax
push 0
lea eax, [ebp - 0x33c]
push eax
push dword [ebp - 0x3e8]
call edi
push dword [ebp - 0x3e8]
call ebx
lea eax, [ebp - 0x220]
mov dword [ebp - 0x330], 0x25207325
push eax
lea eax, [ebp - 0x328]
mov word [ebp - 0x32c], 0x73
push eax
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10001410
sub esp, 8
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10001bd6
mov eax, dword [edx]
jmp 0x10001bd8
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x118], 0
jne 0x10001be8
xor ecx, ecx
jmp 0x10001c00
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001bf1
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10016580
lea ecx, [ebp - 0x35c]
call fcn.10003c30
mov ecx, esp
mov word [ebp - 0x3e4], 0x7325
mov byte [ebp - 0x3e2], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10001410
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3e4], ax
mov byte [ebp - 0x3e2], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x10001c79
inc eax
push eax
push dword [ebp - 0x35c]
call fcn.10016c60
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x33c], 0x6e656449
mov dword [ebp - 0x338], 0x69666974
mov edx, 0x7f
mov word [ebp - 0x334], 0x7265
xor ecx, ecx
mov byte [ebp - 0x332], 0
nop word [eax + eax]
mov al, byte [ecx + 0x100218b0]
xor al, dl
mov byte [ebp + ecx - 0x3b0], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x4c
jb 0x10001cc0
lea eax, [ebp - 0x3e8]
mov byte [ebp - 0x364], 0
push eax
push 1
push 0
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x3e4], 0x104
push eax
push connect
call esi
test eax, eax
jne 0x10001d37
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x3ec]
push eax
push 0
lea eax, [ebp - 0x33c]
push eax
push dword [ebp - 0x3e8]
call edi
push dword [ebp - 0x3e8]
call ebx
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001d40
sub ecx, edx
mov edi, str.PriwyIDP
cmp ecx, 2
setae al
test al, al
je 0x10001efc
lea eax, [edi - 0x6f747e8f]
push eax
lea ecx, [ebp - 0x33c]
call fcn.100184e0
mov esi, eax
xor edx, edx
mov eax, 0x7f
nop word [eax + eax]
mov cl, byte [edx + 0x100218b0]
xor cl, al
mov byte [ebp + edx - 0x3b0], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x10001d80
lea eax, [ebp - 0x3e8]
mov byte [ebp - 0x364], 0
push eax
push 1
push 0
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x330], 0x25207325
push eax
push connect
mov word [ebp - 0x32c], 0x73
mov dword [ebp - 0x3e4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001e0c
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x3ec]
push eax
push 0
push esi
push dword [ebp - 0x3e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3e8]
call ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10001410
sub esp, 8
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10001e58
mov eax, dword [edx]
jmp 0x10001e5a
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x118], 0
jne 0x10001e6a
xor ecx, ecx
jmp 0x10001e7c
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001e73
sub ecx, esi
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10016580
lea ecx, [ebp - 0x35c]
call fcn.10003c30
mov ecx, esp
mov word [ebp - 0x3e4], 0x7325
mov byte [ebp - 0x3e2], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10001410
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3e4], ax
mov byte [ebp - 0x3e2], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x10001ef5
inc eax
push eax
push dword [ebp - 0x35c]
call fcn.10016c60
mov byte [0x10aaa680], 1
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [0x10aaa680], 0
jne 0x10001fd4
lea eax, [edi - 0x6f747e8f]
push eax
lea ecx, [ebp - 0x33c]
call fcn.100184e0
mov esi, eax
xor edx, edx
mov eax, 0x87
nop word [eax + eax]
mov cl, byte [edx + 0x10021900]
xor cl, al
mov byte [ebp + edx - 0x3b0], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x10001f40
lea eax, [ebp - 0x3e8]
mov byte [ebp - 0x364], 0
push eax
push 1
push 0
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x3e4], 0x104
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001fb9
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x3ec]
push eax
push 0
push esi
push dword [ebp - 0x3e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3e8]
call ebx
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001fc2
sub ecx, edx
cmp ecx, 2
jb 0x10001fd4
mov al, 1
jmp 0x10001fd6
xor al, al
test al, al
je 0x1000217c
lea eax, [edi - 0x6f747e8f]
push eax
lea ecx, [ebp - 0x33c]
call fcn.100184e0
mov esi, eax
xor edx, edx
mov eax, 0x87
nop dword [eax]
mov cl, byte [edx + 0x10021900]
xor cl, al
mov byte [ebp + edx - 0x3b0], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x10002000
lea eax, [ebp - 0x3e8]
mov byte [ebp - 0x364], 0
push eax
push 1
push 0
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x330], 0x25207325
push eax
push connect
mov word [ebp - 0x32c], 0x73
mov dword [ebp - 0x3e4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000208c
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x3ec]
push eax
push 0
push esi
push dword [ebp - 0x3e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3e8]
call ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10001410
sub esp, 8
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100020d8
mov eax, dword [edx]
jmp 0x100020da
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x118], 0
jne 0x100020ea
xor ecx, ecx
jmp 0x100020fc
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100020f3
sub ecx, esi
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10016580
lea ecx, [ebp - 0x35c]
call fcn.10003c30
mov ecx, esp
mov word [ebp - 0x3e4], 0x7325
mov byte [ebp - 0x3e2], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10001410
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3e4], ax
mov byte [ebp - 0x3e2], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x10002175
inc eax
push eax
push dword [ebp - 0x35c]
call fcn.10016c60
mov byte [0x10aaa680], 1
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [0x10aaa680], 0
jne 0x10002254
lea eax, [edi - 0x6f747e8f]
push eax
lea ecx, [ebp - 0x33c]
call fcn.100184e0
mov esi, eax
xor edx, edx
mov eax, 0x62
nop word [eax + eax]
mov cl, byte [edx + str._6_1:_6____5_3_]
xor cl, al
mov byte [ebp + edx - 0x3b0], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x100021c0
lea eax, [ebp - 0x3e8]
mov byte [ebp - 0x364], 0
push eax
push 1
push 0
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x3e4], 0x104
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002239
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x3ec]
push eax
push 0
push esi
push dword [ebp - 0x3e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3e8]
call ebx
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002242
sub ecx, edx
cmp ecx, 2
jb 0x10002254
mov al, 1
jmp 0x10002256
xor al, al
test al, al
je 0x10002412
sub edi, 0x6f747e8f
lea ecx, [ebp - 0x33c]
push edi
call fcn.100184e0
mov esi, eax
xor edx, edx
mov eax, 0x62
nop dword [eax]
mov cl, byte [edx + str._6_1:_6____5_3_]
xor cl, al
mov byte [ebp + edx - 0x3b0], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x10002280
lea eax, [ebp - 0x3e8]
mov byte [ebp - 0x364], 0
push eax
push 1
push 0
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x330], 0x25207325
push eax
push connect
mov word [ebp - 0x32c], 0x73
mov dword [ebp - 0x3e4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000230c
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x3ec]
push eax
push 0
push esi
push dword [ebp - 0x3e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3e8]
call ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10001410
sub esp, 8
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10002358
mov eax, dword [edx]
jmp 0x1000235a
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x118], 0
jne 0x1000236a
xor ecx, ecx
jmp 0x1000237c
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002373
sub ecx, esi
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10016580
lea ecx, [ebp - 0x35c]
call fcn.10003c30
mov ecx, esp
mov word [ebp - 0x3e4], 0x7325
mov byte [ebp - 0x3e2], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10001410
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3e4], ax
mov byte [ebp - 0x3e2], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x100023f5
inc eax
push eax
push dword [ebp - 0x35c]
call fcn.10016c60
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [0x10aaa680], 1
mov dword [ebp - 0x33c], 0x52455355
mov edx, 0x4f
mov dword [ebp - 0x338], 0x414d4f44
xor ecx, ecx
mov word [ebp - 0x334], 0x4e49
mov byte [ebp - 0x332], 0
nop dword [eax]
mov al, byte [ecx + 0x100219a0]
xor al, dl
mov byte [ebp + ecx - 0x35c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x14
jb 0x10002440
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x3e8]
push eax
push 1
push 0
lea eax, [ebp - 0x35c]
mov byte [ebp - 0x348], 0
push eax
push connect
mov dword [ebp - 0x330], 0x25207325
mov word [ebp - 0x32c], 0x73
mov dword [ebp - 0x3e4], 0x104
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100024d6
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x3ec]
push eax
push 0
lea eax, [ebp - 0x33c]
push eax
push dword [ebp - 0x3e8]
call edi
push dword [ebp - 0x3e8]
call ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10001410
sub esp, 8
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10002522
mov eax, dword [edx]
jmp 0x10002524
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x118], 0
jne 0x10002534
xor ecx, ecx
jmp 0x1000254f
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002540
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10016580
lea ecx, [ebp - 0x35c]
call fcn.10003c30
mov ecx, esp
mov word [ebp - 0x3e4], 0x7325
mov byte [ebp - 0x3e2], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10001410
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3e4], ax
mov byte [ebp - 0x3e2], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x100025c8
inc eax
push eax
push dword [ebp - 0x35c]
call fcn.10016c60
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x33c], 0x52455355
mov dword [ebp - 0x338], 0x454d414e
mov edx, 0x4f
mov byte [ebp - 0x334], 0
xor ecx, ecx
mov al, byte [ecx + 0x100219a0]
xor al, dl
mov byte [ebp + ecx - 0x35c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x14
jb 0x10002600
lea eax, [ebp - 0x3e8]
mov byte [ebp - 0x348], 0
push eax
push 1
push 0
lea eax, [ebp - 0x35c]
mov dword [ebp - 0x330], 0x25207325
push eax
push connect
mov word [ebp - 0x32c], 0x73
mov dword [ebp - 0x3e4], 0x104
call esi
test eax, eax
jne 0x1000268a
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x3ec]
push eax
push 0
lea eax, [ebp - 0x33c]
push eax
push dword [ebp - 0x3e8]
call edi
push dword [ebp - 0x3e8]
call ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10001410
sub esp, 8
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100026d6
mov eax, dword [edx]
jmp 0x100026d8
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x118], 0
jne 0x100026e8
xor ecx, ecx
jmp 0x100026fa
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100026f1
sub ecx, esi
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10016580
lea ecx, [ebp - 0x35c]
call fcn.10003c30
mov ecx, esp
mov word [ebp - 0x3e4], 0x7325
mov byte [ebp - 0x3e2], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10001410
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3e4], ax
mov byte [ebp - 0x3e2], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x10002773
inc eax
push eax
push dword [ebp - 0x35c]
call fcn.10016c60
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor edx, edx
nop dword [eax + eax]
mov al, byte [ebp + edx - 0x328]
cmp al, 0x61
jl 0x100027a8
cmp al, 0x7a
jg 0x100027a8
sub al, 0x20
mov byte [ebp + edx - 0x328], al
lea ecx, [ebp - 0x328]
inc edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100027b2
sub ecx, esi
cmp edx, ecx
jbe 0x10002790
mov edx, 0xa4
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100219b8]
xor al, dl
mov byte [ebp + ecx - 0x35c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x15
jb 0x100027d0
lea eax, [ebp - 0x3f0]
mov byte [ebp - 0x347], 0
push eax
lea eax, [ebp - 0x35c]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, 0xa4
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + 0x100219b8]
xor al, dl
mov byte [ebp + ecx - 0x35c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x15
jb 0x10002820
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x3f0]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x35c]
mov byte [ebp - 0x347], 0
push eax
push connect
call esi
test eax, eax
jne 0x10002b88
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x3f8], 0x104
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x330], 0x756c6176
push eax
lea eax, [ebp - 0x3fc]
mov dword [ebp - 0x32c], 0x393965
push eax
push 0
lea eax, [ebp - 0x330]
push eax
push dword [ebp - 0x3f0]
call edi
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100028c0
sub ecx, edx
cmp ecx, 0x20
jb 0x10002b54
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x338], 0x756c6176
mov dword [ebp - 0x334], 0x393965
mov edx, 0xa4
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + 0x100219b8]
xor al, dl
mov byte [ebp + ecx - 0x35c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x15
jb 0x10002910
mov byte [ebp - 0x347], 0
lea eax, [ebp - 0x3e8]
mov byte [ebp - 4], 6
push eax
push 1
push 0
lea eax, [ebp - 0x35c]
mov dword [ebp - 0x3ec], 0x104
push eax
push connect
call esi
test eax, eax
jne 0x1000298b
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea eax, [ebp - 0x338]
push eax
push dword [ebp - 0x3e8]
call edi
push dword [ebp - 0x3e8]
call ebx
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100029b6
mov eax, dword [edx]
jmp 0x100029b8
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x220], 0
jne 0x100029c8
xor ecx, ecx
jmp 0x100029da
lea ecx, [ebp - 0x220]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100029d1
sub ecx, esi
push ecx
lea eax, [ebp - 0x220]
mov ecx, edx
push eax
call fcn.10016580
lea ecx, [ebp - 0x37c]
call fcn.10003c30
mov ecx, esp
mov word [ebp - 0x3e4], 0x7325
mov byte [ebp - 0x3e2], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x118]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10001410
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3e4], ax
mov byte [ebp - 0x3e2], al
mov eax, dword [ebp - 0x368]
cmp eax, 0x10
jb 0x10002a53
inc eax
push eax
push dword [ebp - 0x37c]
call fcn.10016c60
sub esp, 0x18
mov byte [ebp - 4], 4
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x118], 0
jne 0x10002a7a
xor ecx, ecx
jmp 0x10002a8c
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002a83
sub ecx, esi
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10016580
lea ecx, [ebp - 0x37c]
call fcn.10003c30
mov ecx, esp
mov word [ebp - 0x3e4], 0x7325
mov byte [ebp - 0x3e2], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10001410
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3e4], ax
mov byte [ebp - 0x3e2], al
mov eax, dword [ebp - 0x368]
cmp eax, 0x10
jb 0x10002b05
inc eax
push eax
push dword [ebp - 0x37c]
call fcn.10016c60
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor edx, edx
nop dword [eax]
mov al, byte [ebp + edx - 0x328]
cmp al, 0x61
jl 0x10002b38
cmp al, 0x7a
jg 0x10002b38
sub al, 0x20
mov byte [ebp + edx - 0x328], al
lea ecx, [ebp - 0x328]
inc edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002b42
sub ecx, esi
cmp edx, ecx
jbe 0x10002b20
jmp 0x10002d3f
push 0x20
lea eax, [ebp - 0x328]
mov dword [ebp - 0x338], 0x756c6176
push eax
push 1
push 0
lea eax, [ebp - 0x338]
mov dword [ebp - 0x334], 0x393965
push eax
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0xc
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x328], 0
jne 0x10002bbe
xor ecx, ecx
jmp 0x10002bd0
lea ecx, [ebp - 0x328]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002bc7
sub ecx, esi
push ecx
lea eax, [ebp - 0x328]
mov ecx, edx
push eax
call fcn.10016580
lea ecx, [ebp - 0x37c]
call fcn.10003c30
mov ecx, esp
mov word [ebp - 0x3e4], 0x7325
mov byte [ebp - 0x3e2], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x118]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10001410
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3e4], ax
mov byte [ebp - 0x3e2], al
mov eax, dword [ebp - 0x368]
cmp eax, 0x10
jb 0x10002c49
inc eax
push eax
push dword [ebp - 0x37c]
call fcn.10016c60
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x118], 0
jne 0x10002c6c
xor ecx, ecx
jmp 0x10002c7e
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002c75
sub ecx, esi
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10016580
lea ecx, [ebp - 0x37c]
call fcn.10003c30
mov ecx, esp
mov word [ebp - 0x3e4], 0x7325
mov byte [ebp - 0x3e2], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10001410
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3e4], ax
mov byte [ebp - 0x3e2], al
mov eax, dword [ebp - 0x368]
cmp eax, 0x10
jb 0x10002cf7
inc eax
push eax
push dword [ebp - 0x37c]
call fcn.10016c60
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor edx, edx
nop
mov al, byte [ebp + edx - 0x328]
cmp al, 0x61
jl 0x10002d28
cmp al, 0x7a
jg 0x10002d28
sub al, 0x20
mov byte [ebp + edx - 0x328], al
lea ecx, [ebp - 0x328]
inc edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002d32
sub ecx, esi
cmp edx, ecx
jbe 0x10002d10
mov eax, dword [ebp - 0x3b4]
cmp eax, 0x10
jb 0x10002d57
inc eax
push eax
push dword [ebp - 0x3c8]
call fcn.10016c60
lea eax, [ebp - 0x328]
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.1001e905
mov esp, ebp
pop ebp
ret