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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004254c
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x100571b8]
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 - 0x3f4], 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 - 0x3e8], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2d
jb 0x1001f600
mov byte [ebp - 0x3bb], 0
mov dword [ebp - 4], 0
cmp byte [ebp - 0x3e8], 0
mov dword [ebp - 0x3a4], 0xf
mov dword [ebp - 0x3a8], 0
mov byte [ebp - 0x3b8], 0
jne 0x1001f651
xor ecx, ecx
jmp 0x1001f669
lea ecx, [ebp - 0x3e8]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001f660
sub ecx, edx
push ecx
lea eax, [ebp - 0x3e8]
push eax
lea ecx, [ebp - 0x3b8]
call fcn.10015160
mov dword [ebp - 0x3c0], 0xf
mov dword [ebp - 0x3c4], 0
mov byte [ebp - 0x3d4], 0
mov dword [ebp - 0x400], 0
mov dword [ebp - 0x3fc], 0
mov dword [ebp - 0x3f8], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3f4]
cmp dword [ebp - 0x3a4], 0x10
lea eax, [ebp - 0x3b8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmovae eax, dword [ebp - 0x3b8]
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 0x1001f85b
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
xor esi, esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x3ec], 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 0x1001f849
lea eax, [ebp - 0x220]
push eax
lea edx, [ebp - 0x3b8]
lea ecx, [ebp - 0x36c]
call fcn.10021420
add esp, 4
lea ecx, [ebp - 0x3f0]
cmp dword [ebp - 0x358], 0x10
lea eax, [ebp - 0x36c]
cmovae eax, dword [ebp - 0x36c]
push ecx
push eax
push connect
call ebx
test eax, eax
jne 0x1001f807
push 0xff
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x3ec], 0xff
push eax
call fcn.10029de0
add esp, 0xc
mov edx, 0xad
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1005102c]
xor al, dl
mov byte [ebp + ecx - 0x350], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x13
jb 0x1001f7b0
lea eax, [ebp - 0x3ec]
mov byte [ebp - 0x33d], 0
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0
lea eax, [ebp - 0x350]
push eax
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1001f82b
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x358]
cmp eax, 0x10
jb 0x1001f825
inc eax
lea ecx, [ebp - 0x36c]
push eax
push dword [ebp - 0x36c]
call fcn.10015020
inc esi
jmp 0x1001f720
mov eax, dword [ebp - 0x358]
cmp eax, 0x10
jb 0x1001f849
inc eax
lea ecx, [ebp - 0x36c]
push eax
push dword [ebp - 0x36c]
call fcn.10015020
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 word [eax + eax]
mov al, byte [ecx + 0x10051040]
xor al, dl
mov byte [ebp + ecx - 0x350], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x13
jb 0x1001f870
mov byte [ebp - 0x33d], 0
mov edx, 0x8e
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x10051054]
xor al, dl
mov byte [ebp + ecx - 0x384], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2e
jb 0x1001f8a0
lea eax, [ebp - 0x3f0]
mov byte [ebp - 0x356], 0
push eax
push 1
push 0
lea eax, [ebp - 0x384]
mov dword [ebp - 0x3ec], 0x104
push eax
push connect
call esi
test eax, eax
jne 0x1001f917
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
lea eax, [ebp - 0x350]
push eax
push dword [ebp - 0x3f0]
call edi
push dword [ebp - 0x3f0]
call ebx
sub esp, 0x18
cmp byte [ebp - 0x220], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
jne 0x1001f93a
xor ecx, ecx
jmp 0x1001f952
lea ecx, [ebp - 0x220]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001f943
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ecx
lea eax, [ebp - 0x220]
mov ecx, edx
push eax
call fcn.10015160
lea ecx, [ebp - 0x36c]
call fcn.1001ee40
mov ecx, esp
mov word [ebp - 0x3ec], 0x7325
mov byte [ebp - 0x3ea], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10015270
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3ec], ax
mov byte [ebp - 0x3ea], al
mov eax, dword [ebp - 0x358]
cmp eax, 0x10
jb 0x1001f9d1
inc eax
lea ecx, [ebp - 0x36c]
push eax
push dword [ebp - 0x36c]
call fcn.10015020
mov dword [ebp - 0x334], 0x6c697542
mov edx, 0x6a
mov dword [ebp - 0x330], 0x62614c64
xor ecx, ecx
mov byte [ebp - 0x32c], 0
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + str.9_99._4._]
xor al, dl
mov byte [ebp + ecx - 0x380], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2c
jb 0x1001fa00
lea eax, [ebp - 0x3f0]
mov byte [ebp - 0x354], 0
push eax
push 1
push 0
lea eax, [ebp - 0x380]
mov dword [ebp - 0x3ec], 0x104
push eax
push connect
call esi
test eax, eax
jne 0x1001fa77
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 0x3f0]
call edi
push dword [ebp - 0x3f0]
call ebx
lea eax, [ebp - 0x220]
mov dword [ebp - 0x33c], 0x25207325
push eax
lea eax, [ebp - 0x328]
mov word [ebp - 0x338], 0x73
push eax
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10015270
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x118], 0
jne 0x1001face
xor ecx, ecx
jmp 0x1001fae6
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fad7
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10015160
lea ecx, [ebp - 0x36c]
call fcn.1001ee40
mov ecx, esp
mov word [ebp - 0x3ec], 0x7325
mov byte [ebp - 0x3ea], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10015270
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3ec], ax
mov byte [ebp - 0x3ea], al
mov eax, dword [ebp - 0x358]
cmp eax, 0x10
jb 0x1001fb65
inc eax
lea ecx, [ebp - 0x36c]
push eax
push dword [ebp - 0x36c]
call fcn.10015020
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10029de0
add esp, 0xc
mov dword [ebp - 0x348], 0x6e656449
mov dword [ebp - 0x344], 0x69666974
mov edx, 0x7f
mov word [ebp - 0x340], 0x7265
xor ecx, ecx
mov byte [ebp - 0x33e], 0
nop word [eax + eax]
mov al, byte [ecx + 0x100510c0]
xor al, dl
mov byte [ebp + ecx - 0x3a0], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x4c
jb 0x1001fbb0
lea eax, [ebp - 0x3f0]
mov byte [ebp - 0x354], 0
push eax
push 1
push 0
lea eax, [ebp - 0x3a0]
mov dword [ebp - 0x3ec], 0x104
push eax
push connect
call esi
test eax, eax
jne 0x1001fc27
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
lea eax, [ebp - 0x348]
push eax
push dword [ebp - 0x3f0]
call edi
push dword [ebp - 0x3f0]
call ebx
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fc30
sub ecx, edx
mov edi, str.PriwyIDP
cmp ecx, 2
setae al
test al, al
je 0x1001fddf
lea eax, [edi - 0x6f747e8f]
push eax
lea ecx, [ebp - 0x348]
call fcn.10021530
mov esi, eax
xor edx, edx
mov eax, 0x7f
nop word [eax + eax]
mov cl, byte [edx + 0x100510c0]
xor cl, al
mov byte [ebp + edx - 0x3a0], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x1001fc70
lea eax, [ebp - 0x3f0]
mov byte [ebp - 0x354], 0
push eax
push 1
push 0
lea eax, [ebp - 0x3a0]
mov dword [ebp - 0x334], 0x25207325
push eax
push connect
mov word [ebp - 0x330], 0x73
mov dword [ebp - 0x3ec], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001fcfc
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
push esi
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3f0]
call ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10015270
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x118], 0
jne 0x1001fd40
xor ecx, ecx
jmp 0x1001fd59
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fd50
sub ecx, esi
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10015160
lea ecx, [ebp - 0x36c]
call fcn.1001ee40
mov ecx, esp
mov word [ebp - 0x3ec], 0x7325
mov byte [ebp - 0x3ea], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10015270
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3ec], ax
mov byte [ebp - 0x3ea], al
mov eax, dword [ebp - 0x358]
cmp eax, 0x10
jb 0x1001fdd8
inc eax
lea ecx, [ebp - 0x36c]
push eax
push dword [ebp - 0x36c]
call fcn.10015020
mov byte [0x105645d4], 1
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10029de0
add esp, 0xc
cmp byte [0x105645d4], 0
jne 0x1001feb4
lea eax, [edi - 0x6f747e8f]
push eax
lea ecx, [ebp - 0x348]
call fcn.10021530
mov esi, eax
xor edx, edx
mov eax, 0x87
nop dword [eax]
mov cl, byte [edx + 0x10051110]
xor cl, al
mov byte [ebp + edx - 0x3a0], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x1001fe20
lea eax, [ebp - 0x3f0]
mov byte [ebp - 0x354], 0
push eax
push 1
push 0
lea eax, [ebp - 0x3a0]
mov dword [ebp - 0x3ec], 0x104
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001fe99
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
push esi
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3f0]
call ebx
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fea2
sub ecx, edx
cmp ecx, 2
jb 0x1001feb4
mov al, 1
jmp 0x1001feb6
xor al, al
test al, al
je 0x1002004f
lea eax, [edi - 0x6f747e8f]
push eax
lea ecx, [ebp - 0x348]
call fcn.10021530
mov esi, eax
xor edx, edx
mov eax, 0x87
nop dword [eax]
mov cl, byte [edx + 0x10051110]
xor cl, al
mov byte [ebp + edx - 0x3a0], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x1001fee0
lea eax, [ebp - 0x3f0]
mov byte [ebp - 0x354], 0
push eax
push 1
push 0
lea eax, [ebp - 0x3a0]
mov dword [ebp - 0x334], 0x25207325
push eax
push connect
mov word [ebp - 0x330], 0x73
mov dword [ebp - 0x3ec], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001ff6c
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
push esi
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3f0]
call ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10015270
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x118], 0
jne 0x1001ffb0
xor ecx, ecx
jmp 0x1001ffc9
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001ffc0
sub ecx, esi
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10015160
lea ecx, [ebp - 0x36c]
call fcn.1001ee40
mov ecx, esp
mov word [ebp - 0x3ec], 0x7325
mov byte [ebp - 0x3ea], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10015270
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3ec], ax
mov byte [ebp - 0x3ea], al
mov eax, dword [ebp - 0x358]
cmp eax, 0x10
jb 0x10020048
inc eax
lea ecx, [ebp - 0x36c]
push eax
push dword [ebp - 0x36c]
call fcn.10015020
mov byte [0x105645d4], 1
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10029de0
add esp, 0xc
cmp byte [0x105645d4], 0
jne 0x10020124
lea eax, [edi - 0x6f747e8f]
push eax
lea ecx, [ebp - 0x348]
call fcn.10021530
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 - 0x3a0], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x10020090
lea eax, [ebp - 0x3f0]
mov byte [ebp - 0x354], 0
push eax
push 1
push 0
lea eax, [ebp - 0x3a0]
mov dword [ebp - 0x3ec], 0x104
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10020109
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
push esi
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3f0]
call ebx
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020112
sub ecx, edx
cmp ecx, 2
jb 0x10020124
mov al, 1
jmp 0x10020126
xor al, al
test al, al
je 0x100202d5
sub edi, 0x6f747e8f
lea ecx, [ebp - 0x348]
push edi
call fcn.10021530
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 - 0x3a0], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x10020150
lea eax, [ebp - 0x3f0]
mov byte [ebp - 0x354], 0
push eax
push 1
push 0
lea eax, [ebp - 0x3a0]
mov dword [ebp - 0x334], 0x25207325
push eax
push connect
mov word [ebp - 0x330], 0x73
mov dword [ebp - 0x3ec], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100201dc
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
push esi
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3f0]
call ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10015270
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x118], 0
jne 0x10020220
xor ecx, ecx
jmp 0x10020239
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020230
sub ecx, esi
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10015160
lea ecx, [ebp - 0x36c]
call fcn.1001ee40
mov ecx, esp
mov word [ebp - 0x3ec], 0x7325
mov byte [ebp - 0x3ea], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10015270
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3ec], ax
mov byte [ebp - 0x3ea], al
mov eax, dword [ebp - 0x358]
cmp eax, 0x10
jb 0x100202b8
inc eax
lea ecx, [ebp - 0x36c]
push eax
push dword [ebp - 0x36c]
call fcn.10015020
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10029de0
add esp, 0xc
mov byte [0x105645d4], 1
mov dword [ebp - 0x348], 0x52455355
mov edx, 0x4f
mov dword [ebp - 0x344], 0x414d4f44
xor ecx, ecx
mov word [ebp - 0x340], 0x4e49
mov byte [ebp - 0x33e], 0
mov al, byte [ecx + 0x100511b0]
xor al, dl
mov byte [ebp + ecx - 0x368], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x14
jb 0x10020300
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x3f0]
push eax
push 1
push 0
lea eax, [ebp - 0x368]
mov byte [ebp - 0x354], 0
push eax
push connect
mov dword [ebp - 0x334], 0x25207325
mov word [ebp - 0x330], 0x73
mov dword [ebp - 0x3ec], 0x104
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10020396
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
lea eax, [ebp - 0x348]
push eax
push dword [ebp - 0x3f0]
call edi
push dword [ebp - 0x3f0]
call ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10015270
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x118], 0
jne 0x100203da
xor ecx, ecx
jmp 0x100203f2
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100203e3
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10015160
lea ecx, [ebp - 0x36c]
call fcn.1001ee40
mov ecx, esp
mov word [ebp - 0x3ec], 0x7325
mov byte [ebp - 0x3ea], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10015270
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3ec], ax
mov byte [ebp - 0x3ea], al
mov eax, dword [ebp - 0x358]
cmp eax, 0x10
jb 0x10020471
inc eax
lea ecx, [ebp - 0x36c]
push eax
push dword [ebp - 0x36c]
call fcn.10015020
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10029de0
add esp, 0xc
mov dword [ebp - 0x348], 0x52455355
mov dword [ebp - 0x344], 0x454d414e
mov edx, 0x4f
mov byte [ebp - 0x340], 0
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100511b0]
xor al, dl
mov byte [ebp + ecx - 0x368], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x14
jb 0x100204b0
lea eax, [ebp - 0x3f0]
mov byte [ebp - 0x354], 0
push eax
push 1
push 0
lea eax, [ebp - 0x368]
mov dword [ebp - 0x334], 0x25207325
push eax
push connect
mov word [ebp - 0x330], 0x73
mov dword [ebp - 0x3ec], 0x104
call esi
test eax, eax
jne 0x1002053a
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
lea eax, [ebp - 0x348]
push eax
push dword [ebp - 0x3f0]
call edi
push dword [ebp - 0x3f0]
call ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10015270
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x118], 0
jne 0x1002057e
xor ecx, ecx
jmp 0x10020590
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020587
sub ecx, esi
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10015160
lea ecx, [ebp - 0x36c]
call fcn.1001ee40
mov ecx, esp
mov word [ebp - 0x3ec], 0x7325
mov byte [ebp - 0x3ea], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10015270
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3ec], ax
mov byte [ebp - 0x3ea], al
mov eax, dword [ebp - 0x358]
cmp eax, 0x10
jb 0x1002060f
inc eax
lea ecx, [ebp - 0x36c]
push eax
push dword [ebp - 0x36c]
call fcn.10015020
xor edx, edx
mov al, byte [ebp + edx - 0x328]
cmp al, 0x41
jl 0x10020629
cmp al, 0x5a
jg 0x10020629
add 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 0x10020633
sub ecx, esi
cmp edx, ecx
jbe 0x10020611
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10029de0
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 0x10020676
xor ecx, ecx
jmp 0x10020689
lea ecx, [ebp - 0x328]
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020680
sub ecx, esi
push ecx
lea eax, [ebp - 0x328]
mov ecx, edx
push eax
call fcn.10015160
lea ecx, [ebp - 0x36c]
call fcn.1001ee40
mov ecx, esp
mov word [ebp - 0x3ec], 0x7325
mov byte [ebp - 0x3ea], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x118]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10015270
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3ec], ax
mov byte [ebp - 0x3ea], al
mov eax, dword [ebp - 0x358]
cmp eax, 0x10
jb 0x10020708
inc eax
lea ecx, [ebp - 0x36c]
push eax
push dword [ebp - 0x36c]
call fcn.10015020
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 0x1002072b
xor ecx, ecx
jmp 0x1002073d
lea ecx, [ebp - 0x118]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020734
sub ecx, esi
push ecx
lea eax, [ebp - 0x118]
mov ecx, edx
push eax
call fcn.10015160
lea ecx, [ebp - 0x36c]
call fcn.1001ee40
mov ecx, esp
mov word [ebp - 0x3ec], 0x7325
mov byte [ebp - 0x3ea], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x328]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10015270
xor eax, eax
add esp, 0x20
mov word [ebp - 0x3ec], ax
mov byte [ebp - 0x3ea], al
mov eax, dword [ebp - 0x358]
cmp eax, 0x10
jb 0x100207bc
inc eax
lea ecx, [ebp - 0x36c]
push eax
push dword [ebp - 0x36c]
call fcn.10015020
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10029de0
add esp, 0xc
xor edx, edx
mov al, byte [ebp + edx - 0x328]
cmp al, 0x41
jl 0x100207ec
cmp al, 0x5a
jg 0x100207ec
add 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 0x100207f6
sub ecx, esi
cmp edx, ecx
jbe 0x100207d4
mov eax, dword [ebp - 0x3a4]
cmp eax, 0x10
jb 0x10020821
inc eax
lea ecx, [ebp - 0x3b8]
push eax
push dword [ebp - 0x3b8]
call fcn.10015020
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.10026898
mov esp, ebp
pop ebp
ret