Function at 0x10001a20
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 ksa
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e28c
mov eax, dword fs:[0]
push eax
sub esp, 0x3fc
mov eax, dword [0x1004a650]
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
xor ebx, ebx
mov dword [ebp - 0x3f4], ebx
mov eax, 4
xor esi, esi
lea ecx, [ecx]
mov cl, byte [esi + str.LDTC_HXNPIKSC_C_YYDJchhxsCcDLWVDJwZFIN_A_l]
xor cl, al
inc eax
mov byte [ebp + esi - 0x3e4], cl
inc esi
and eax, 0xff
cmp esi, 0x2d
jb 0x10001a60
mov byte [ebp - 0x3b7], bl
mov dword [ebp - 4], ebx
mov esi, 0xf
lea eax, [ebp - 0x3e4]
mov dword [ebp - 0x3a0], esi
mov dword [ebp - 0x3a4], ebx
mov byte [ebp - 0x3b4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10001aa4
sub eax, edx
push eax
lea edx, [ebp - 0x3e4]
push edx
lea ecx, [ebp - 0x3b4]
call fcn.10018950
mov dword [ebp - 0x3c0], esi
mov dword [ebp - 0x3c4], ebx
mov byte [ebp - 0x3d4], bl
mov dword [ebp - 0x408], ebx
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], ebx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x3a0], 0x10
mov eax, dword [ebp - 0x3b4]
jae 0x10001afd
lea eax, [ebp - 0x3b4]
lea ecx, [ebp - 0x3f8]
push ecx
push 0x20019
push ebx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001c4d
mov dword [ebp - 0x3e8], ebx
xor edi, edi
jmp 0x10001b30
mov eax, dword [ebp - 0x3f8]
push 0xff
lea edx, [ebp - 0x118]
push edx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x10001c4d
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x3b4]
push edx
lea eax, [ebp - 0x368]
push eax
call fcn.1001cc60
mov eax, dword [ebp - 0x368]
add esp, 0xc
cmp dword [ebp - 0x354], 0x10
jae 0x10001b84
lea eax, [ebp - 0x368]
lea ecx, [ebp - 0x3ec]
push ecx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10001c17
push 0xff
lea edx, [ebp - 0x118]
push ebx
push edx
mov dword [ebp - 0x3e8], 0xff
call fcn.10025d10
add esp, 0xc
mov eax, 0xad
xor esi, esi
mov cl, byte [esi + 0x100436ec]
xor cl, al
inc eax
mov byte [ebp + esi - 0x344], cl
inc esi
and eax, 0xff
cmp esi, 0x13
jb 0x10001bc1
lea edx, [ebp - 0x3e8]
push edx
mov edx, dword [ebp - 0x3ec]
lea eax, [ebp - 0x118]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x344]
push ecx
push edx
mov byte [ebp - 0x331], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x10001c35
mov eax, dword [ebp - 0x3ec]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x354], 0x10
jb 0x10001c2f
mov ecx, dword [ebp - 0x368]
push ecx
call fcn.10022061
add esp, 4
inc edi
jmp 0x10001b30
cmp dword [ebp - 0x354], 0x10
jb 0x10001c4d
mov edx, dword [ebp - 0x368]
push edx
call fcn.10022061
add esp, 4
mov eax, dword [ebp - 0x3f8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
mov eax, 0xd2
xor esi, esi
mov cl, byte [esi + 0x10043700]
xor cl, al
inc eax
mov byte [ebp + esi - 0x344], cl
inc esi
and eax, 0xff
cmp esi, 0x13
jb 0x10001c63
mov byte [ebp - 0x331], bl
mov eax, 0x8e
xor esi, esi
jmp 0x10001c90
mov dl, byte [esi + 0x10043714]
xor dl, al
inc eax
mov byte [ebp + esi - 0x37c], dl
inc esi
and eax, 0xff
cmp esi, 0x2e
jb 0x10001c90
lea eax, [ebp - 0x3ec]
push eax
push 1
push ebx
lea ecx, [ebp - 0x37c]
push ecx
push connect
mov byte [ebp - 0x34e], bl
mov dword [ebp - 0x3f0], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001d0e
lea edx, [ebp - 0x3f0]
push edx
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x3ec]
lea ecx, [ebp - 0x3f4]
push ecx
push ebx
lea edx, [ebp - 0x344]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x3ec]
push ecx
call edi
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x118]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x3f4], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10001d30
sub eax, edi
push eax
lea edx, [ebp - 0x118]
push edx
mov ecx, esi
call fcn.10018950
lea ecx, [ebp - 0x368]
call fcn.10003c90
mov esi, eax
mov edi, esp
mov word [ebp - 0x3e8], 0x7325
mov byte [ebp - 0x3e6], bl
mov ecx, 7
lea eax, [ebp - 0x3e8]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x328]
push ecx
call fcn.100222af
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x3e8], bx
mov byte [ebp - 0x3e6], bl
jb 0x10001da8
mov edx, dword [ebp - 0x368]
push edx
call fcn.10022061
add esp, 4
mov dword [ebp - 0x33c], 0x6c697542
mov dword [ebp - 0x338], 0x62614c64
mov byte [ebp - 0x334], bl
mov eax, 0x6a
xor esi, esi
lea esp, [esp]
mov cl, byte [esi + str.9_99._4._]
xor cl, al
inc eax
mov byte [ebp + esi - 0x378], cl
inc esi
and eax, 0xff
cmp esi, 0x2c
jb 0x10001dd0
lea edx, [ebp - 0x3ec]
push edx
push 1
push ebx
lea eax, [ebp - 0x378]
push eax
push connect
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x3f0], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001e52
lea ecx, [ebp - 0x3f0]
push ecx
lea edx, [ebp - 0x118]
push edx
mov edx, dword [ebp - 0x3ec]
lea eax, [ebp - 0x3f4]
push eax
push ebx
lea ecx, [ebp - 0x33c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x3ec]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x328]
push edx
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov dword [ebp - 0x330], 0x25207325
mov word [ebp - 0x32c], 0x73
call fcn.100222af
sub esp, 0xc
mov esi, esp
lea eax, [ebp - 0x220]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x3f4], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10001ea6
sub eax, edi
push eax
lea edx, [ebp - 0x220]
push edx
mov ecx, esi
call fcn.10018950
lea ecx, [ebp - 0x368]
call fcn.10003c90
mov esi, eax
mov edi, esp
mov word [ebp - 0x3e8], 0x7325
mov byte [ebp - 0x3e6], bl
mov ecx, 7
lea eax, [ebp - 0x3e8]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x328]
push ecx
call fcn.100222af
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x3e8], ax
mov byte [ebp - 0x3e6], al
jb 0x10001f20
mov edx, dword [ebp - 0x368]
push edx
call fcn.10022061
add esp, 4
push 0x104
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.10025d10
add esp, 0xc
mov dword [ebp - 0x33c], 0x6e656449
mov dword [ebp - 0x338], 0x69666974
mov word [ebp - 0x334], 0x7265
mov byte [ebp - 0x332], bl
mov eax, 0x7f
xor esi, esi
nop
mov cl, byte [esi + 0x10043780]
xor cl, al
inc eax
mov byte [ebp + esi - 0x398], cl
inc esi
and eax, 0xff
cmp esi, 0x4c
jb 0x10001f60
lea edx, [ebp - 0x3ec]
push edx
push 1
push ebx
lea eax, [ebp - 0x398]
push eax
push connect
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x3f0], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001fe2
lea ecx, [ebp - 0x3f0]
push ecx
lea edx, [ebp - 0x118]
push edx
mov edx, dword [ebp - 0x3ec]
lea eax, [ebp - 0x3f4]
push eax
push ebx
lea ecx, [ebp - 0x33c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x3ec]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
jmp 0x10001ff0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10001ff0
sub eax, edx
cmp eax, 2
setae al
cmp al, bl
je 0x10002177
mov ecx, str.PriwyIDP
sub ecx, 0x6f747e8f
lea eax, [ebp - 0x33c]
call fcn.1001cd40
mov edi, eax
mov eax, 0x7f
xor esi, esi
mov cl, byte [esi + 0x10043780]
xor cl, al
inc eax
mov byte [ebp + esi - 0x398], cl
inc esi
and eax, 0xff
cmp esi, 0x4c
jb 0x10002026
lea edx, [ebp - 0x3ec]
push edx
push 1
push ebx
lea eax, [ebp - 0x398]
push eax
push connect
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x330], 0x25207325
mov word [ebp - 0x32c], 0x73
mov dword [ebp - 0x3f0], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100020b5
lea ecx, [ebp - 0x3f0]
push ecx
mov ecx, dword [ebp - 0x3ec]
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x3f4]
push eax
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x3ec]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.100222af
sub esp, 0xc
mov esi, esp
lea eax, [ebp - 0x220]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x3f4], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100020f6
sub eax, edi
push eax
lea ecx, [ebp - 0x220]
push ecx
mov ecx, esi
call fcn.10018950
lea ecx, [ebp - 0x368]
call fcn.10003c90
mov esi, eax
mov edi, esp
lea edx, [ebp - 0x3e8]
push edx
lea eax, [ebp - 0x328]
mov word [ebp - 0x3e8], 0x7325
mov byte [ebp - 0x3e6], bl
mov ecx, 7
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.100222af
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x3e8], ax
mov byte [ebp - 0x3e6], al
jb 0x10002170
mov ecx, dword [ebp - 0x368]
push ecx
call fcn.10022061
add esp, 4
mov byte [0x10ad0018], 1
push 0x104
lea edx, [ebp - 0x220]
push ebx
push edx
call fcn.10025d10
add esp, 0xc
cmp byte [0x10ad0018], bl
jne 0x10002252
mov ecx, str.PriwyIDP
sub ecx, 0x6f747e8f
lea eax, [ebp - 0x33c]
call fcn.1001cd40
mov edi, eax
mov eax, 0x87
xor esi, esi
mov cl, byte [esi + 0x100437d0]
xor cl, al
inc eax
mov byte [ebp + esi - 0x398], cl
inc esi
and eax, 0xff
cmp esi, 0x4c
jb 0x100021b7
lea edx, [ebp - 0x3ec]
push edx
push 1
push ebx
lea eax, [ebp - 0x398]
push eax
push connect
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x3f0], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002233
lea ecx, [ebp - 0x3f0]
push ecx
mov ecx, dword [ebp - 0x3ec]
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x3f4]
push eax
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x3ec]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002240
sub eax, edx
cmp eax, 2
jb 0x10002252
mov al, 1
jmp 0x10002254
xor al, al
cmp al, bl
je 0x100023d1
mov ecx, str.PriwyIDP
sub ecx, 0x6f747e8f
lea eax, [ebp - 0x33c]
call fcn.1001cd40
mov edi, eax
mov eax, 0x87
xor esi, esi
jmp 0x10002280
mov cl, byte [esi + 0x100437d0]
xor cl, al
inc eax
mov byte [ebp + esi - 0x398], cl
inc esi
and eax, 0xff
cmp esi, 0x4c
jb 0x10002280
lea edx, [ebp - 0x3ec]
push edx
push 1
push ebx
lea eax, [ebp - 0x398]
push eax
push connect
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x330], 0x25207325
mov word [ebp - 0x32c], 0x73
mov dword [ebp - 0x3f0], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000230f
lea ecx, [ebp - 0x3f0]
push ecx
mov ecx, dword [ebp - 0x3ec]
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x3f4]
push eax
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x3ec]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.100222af
sub esp, 0xc
mov esi, esp
lea eax, [ebp - 0x220]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x3f4], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002350
sub eax, edi
push eax
lea ecx, [ebp - 0x220]
push ecx
mov ecx, esi
call fcn.10018950
lea ecx, [ebp - 0x368]
call fcn.10003c90
mov esi, eax
mov edi, esp
lea edx, [ebp - 0x3e8]
push edx
lea eax, [ebp - 0x328]
mov word [ebp - 0x3e8], 0x7325
mov byte [ebp - 0x3e6], bl
mov ecx, 7
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.100222af
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x3e8], ax
mov byte [ebp - 0x3e6], al
jb 0x100023ca
mov ecx, dword [ebp - 0x368]
push ecx
call fcn.10022061
add esp, 4
mov byte [0x10ad0018], 1
push 0x104
lea edx, [ebp - 0x220]
push ebx
push edx
call fcn.10025d10
add esp, 0xc
cmp byte [0x10ad0018], bl
jne 0x100024a8
mov ecx, str.PriwyIDP
sub ecx, 0x6f747e8f
lea eax, [ebp - 0x33c]
call fcn.1001cd40
mov edi, eax
mov eax, 0x62
xor esi, esi
mov cl, byte [esi + str._6_1:_6____5_3_]
xor cl, al
inc eax
mov byte [ebp + esi - 0x398], cl
inc esi
and eax, 0xff
cmp esi, 0x4c
jb 0x10002411
lea edx, [ebp - 0x3ec]
push edx
push 1
push ebx
lea eax, [ebp - 0x398]
push eax
push connect
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x3f0], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000248d
lea ecx, [ebp - 0x3f0]
push ecx
mov ecx, dword [ebp - 0x3ec]
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x3f4]
push eax
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x3ec]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002496
sub eax, edx
cmp eax, 2
jb 0x100024a8
mov al, 1
jmp 0x100024aa
xor al, al
cmp al, bl
je 0x10002637
mov ecx, str.PriwyIDP
sub ecx, 0x6f747e8f
lea eax, [ebp - 0x33c]
call fcn.1001cd40
mov edi, eax
mov eax, 0x62
xor esi, esi
mov cl, byte [esi + str._6_1:_6____5_3_]
xor cl, al
inc eax
mov byte [ebp + esi - 0x398], cl
inc esi
and eax, 0xff
cmp esi, 0x4c
jb 0x100024d1
lea edx, [ebp - 0x3ec]
push edx
push 1
push ebx
lea eax, [ebp - 0x398]
push eax
push connect
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x330], 0x25207325
mov word [ebp - 0x32c], 0x73
mov dword [ebp - 0x3f0], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002560
lea ecx, [ebp - 0x3f0]
push ecx
mov ecx, dword [ebp - 0x3ec]
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x3f4]
push eax
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x3ec]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.100222af
sub esp, 0xc
mov esi, esp
lea eax, [ebp - 0x220]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x3f4], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100025a1
sub eax, edi
push eax
lea ecx, [ebp - 0x220]
push ecx
mov ecx, esi
call fcn.10018950
lea ecx, [ebp - 0x368]
call fcn.10003c90
mov esi, eax
mov edi, esp
lea edx, [ebp - 0x3e8]
push edx
lea eax, [ebp - 0x328]
mov word [ebp - 0x3e8], 0x7325
mov byte [ebp - 0x3e6], bl
mov ecx, 7
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.100222af
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x3e8], ax
mov byte [ebp - 0x3e6], al
jb 0x1000261b
mov ecx, dword [ebp - 0x368]
push ecx
call fcn.10022061
add esp, 4
push 0x104
lea edx, [ebp - 0x220]
push ebx
push edx
call fcn.10025d10
add esp, 0xc
mov byte [0x10ad0018], 1
mov dword [ebp - 0x33c], 0x52455355
mov dword [ebp - 0x338], 0x414d4f44
mov word [ebp - 0x334], 0x4e49
mov byte [ebp - 0x332], bl
mov eax, 0x4f
xor esi, esi
mov cl, byte [esi + 0x10043870]
xor cl, al
inc eax
mov byte [ebp + esi - 0x360], cl
inc esi
and eax, 0xff
cmp esi, 0x14
jb 0x10002661
lea edx, [ebp - 0x3ec]
push edx
push 1
push ebx
lea eax, [ebp - 0x360]
push eax
push connect
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x330], 0x25207325
mov word [ebp - 0x32c], 0x73
mov dword [ebp - 0x3f0], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100026f6
lea ecx, [ebp - 0x3f0]
push ecx
lea edx, [ebp - 0x118]
push edx
mov edx, dword [ebp - 0x3ec]
lea eax, [ebp - 0x3f4]
push eax
push ebx
lea ecx, [ebp - 0x33c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x3ec]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x328]
push edx
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.100222af
sub esp, 0xc
mov esi, esp
lea eax, [ebp - 0x220]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x3f4], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002737
sub eax, edi
push eax
lea edx, [ebp - 0x220]
push edx
mov ecx, esi
call fcn.10018950
lea ecx, [ebp - 0x368]
call fcn.10003c90
mov esi, eax
mov edi, esp
mov word [ebp - 0x3e8], 0x7325
mov byte [ebp - 0x3e6], bl
mov ecx, 7
lea eax, [ebp - 0x3e8]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x328]
push ecx
call fcn.100222af
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x3e8], ax
mov byte [ebp - 0x3e6], al
jb 0x100027b1
mov edx, dword [ebp - 0x368]
push edx
call fcn.10022061
add esp, 4
push 0x104
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.10025d10
add esp, 0xc
mov dword [ebp - 0x33c], 0x52455355
mov dword [ebp - 0x338], 0x454d414e
mov byte [ebp - 0x334], bl
mov eax, 0x4f
xor esi, esi
mov cl, byte [esi + 0x10043870]
xor cl, al
inc eax
mov byte [ebp + esi - 0x360], cl
inc esi
and eax, 0xff
cmp esi, 0x14
jb 0x100027e7
lea edx, [ebp - 0x3ec]
push edx
push 1
push ebx
lea eax, [ebp - 0x360]
push eax
push connect
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x330], 0x25207325
mov word [ebp - 0x32c], 0x73
mov dword [ebp - 0x3f0], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000287c
lea ecx, [ebp - 0x3f0]
push ecx
lea edx, [ebp - 0x118]
push edx
mov edx, dword [ebp - 0x3ec]
lea eax, [ebp - 0x3f4]
push eax
push ebx
lea ecx, [ebp - 0x33c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x3ec]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x328]
push edx
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.100222af
sub esp, 0xc
mov esi, esp
lea eax, [ebp - 0x220]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x3f4], esp
mov byte [esi], bl
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100028c0
sub eax, edi
push eax
lea edx, [ebp - 0x220]
push edx
mov ecx, esi
call fcn.10018950
lea ecx, [ebp - 0x368]
call fcn.10003c90
mov esi, eax
mov edi, esp
mov word [ebp - 0x3e8], 0x7325
mov byte [ebp - 0x3e6], bl
mov ecx, 7
lea eax, [ebp - 0x3e8]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x328]
push ecx
call fcn.100222af
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x3e8], ax
mov byte [ebp - 0x3e6], al
jb 0x1000293a
mov edx, dword [ebp - 0x368]
push edx
call fcn.10022061
add esp, 4
push 0x104
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.10025d10
push ebx
mov dword [ebp - 0x330], 0x25207325
mov word [ebp - 0x32c], 0x73
call fcn.1002462b
push eax
call fcn.10024177
call fcn.10024189
cdq
mov ecx, 0x391c
idiv ecx
inc edx
push edx
lea edx, [ebp - 0x118]
push 0x100436b8
push edx
call fcn.100222af
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.100222af
add esp, 0x14
mov esi, esp
lea eax, [ebp - 0x220]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x3f4], esp
mov byte [esi], bl
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100029d0
sub eax, edi
push eax
lea ecx, [ebp - 0x220]
push ecx
mov ecx, esi
call fcn.10018950
lea ecx, [ebp - 0x368]
call fcn.10003c90
mov esi, eax
mov edi, esp
lea edx, [ebp - 0x3e8]
push edx
lea eax, [ebp - 0x328]
mov word [ebp - 0x3e8], 0x7325
mov byte [ebp - 0x3e6], bl
mov ecx, 7
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.100222af
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x3e8], ax
mov byte [ebp - 0x3e6], al
jb 0x10002a4a
mov ecx, dword [ebp - 0x368]
push ecx
call fcn.10022061
add esp, 4
push 0x104
lea edx, [ebp - 0x220]
push ebx
push edx
call fcn.10025d10
add esp, 0xc
xor edx, edx
mov al, byte [ebp + edx - 0x328]
cmp al, 0x41
jl 0x10002a79
cmp al, 0x5a
jg 0x10002a79
add al, 0x20
mov byte [ebp + edx - 0x328], al
lea eax, [ebp - 0x328]
inc edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002a83
sub eax, edi
cmp edx, eax
jbe 0x10002a61
mov dword [ebp - 0x330], 0x756c6176
mov dword [ebp - 0x32c], 0x393965
mov eax, 0xa4
xor edi, edi
jmp 0x10002ab0
mov cl, byte [edi + 0x10043888]
xor cl, al
inc eax
mov byte [ebp + edi - 0x364], cl
inc edi
and eax, 0xff
cmp edi, 0x15
jb 0x10002ab0
lea edi, [ebp - 0x330]
lea ecx, [ebp - 0x364]
mov byte [ebp - 0x34f], bl
call fcn.100018a0
test eax, eax
sete al
cmp al, bl
je 0x10002c88
mov eax, 0xa4
xor edi, edi
mov dl, byte [edi + 0x10043888]
xor dl, al
inc eax
mov byte [ebp + edi - 0x364], dl
inc edi
and eax, 0xff
cmp edi, 0x15
jb 0x10002af6
lea eax, [ebp - 0x3ec]
push eax
lea ecx, [ebp - 0x364]
push ecx
push connect
mov byte [ebp - 0x34f], bl
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, 0xa4
xor edi, edi
mov dl, byte [edi + 0x10043888]
xor dl, al
inc eax
mov byte [ebp + edi - 0x364], dl
inc edi
and eax, 0xff
cmp edi, 0x15
jb 0x10002b37
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x3ec]
push eax
push 0xf003f
push ebx
lea ecx, [ebp - 0x364]
push ecx
push connect
mov byte [ebp - 0x34f], bl
call esi
cmp eax, ebx
jne 0x10002bb1
mov ecx, dword [ebp - 0x3ec]
push 0x20
lea edx, [ebp - 0x328]
push edx
push 1
push ebx
lea eax, [ebp - 0x330]
push eax
push ecx
mov dword [ebp - 0x330], 0x756c6176
mov dword [ebp - 0x32c], 0x393965
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x104
lea edx, [ebp - 0x328]
push ebx
push edx
call fcn.10025d10
add esp, 0xc
mov dword [ebp - 0x338], 0x756c6176
mov dword [ebp - 0x334], 0x393965
mov eax, 0xa4
xor edi, edi
mov cl, byte [edi + 0x10043888]
xor cl, al
inc eax
mov byte [ebp + edi - 0x364], cl
inc edi
and eax, 0xff
cmp edi, 0x15
jb 0x10002be1
lea edx, [ebp - 0x3f0]
push edx
push 1
push ebx
lea eax, [ebp - 0x364]
push eax
push connect
mov byte [ebp - 0x34f], bl
mov word [ebp - 0x3e8], 0x7325
mov byte [ebp - 0x3e6], bl
mov dword [ebp - 0x3f4], 0x104
call esi
test eax, eax
jne 0x10002c6e
lea ecx, [ebp - 0x3f4]
push ecx
lea edx, [ebp - 0x118]
push edx
mov edx, dword [ebp - 0x3f0]
lea eax, [ebp - 0x32c]
push eax
push ebx
lea ecx, [ebp - 0x338]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x3f0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x3e8]
push edx
lea eax, [ebp - 0x328]
push eax
jmp 0x10002d66
push 0x104
lea ecx, [ebp - 0x328]
push ebx
push ecx
call fcn.10025d10
add esp, 0xc
mov dword [ebp - 0x338], 0x756c6176
mov dword [ebp - 0x334], 0x393965
mov eax, 0xa4
xor edi, edi
jmp 0x10002cc0
mov dl, byte [edi + 0x10043888]
xor dl, al
inc eax
mov byte [ebp + edi - 0x364], dl
inc edi
and eax, 0xff
cmp edi, 0x15
jb 0x10002cc0
lea eax, [ebp - 0x3f0]
push eax
push 1
push ebx
lea ecx, [ebp - 0x364]
push ecx
push connect
mov byte [ebp - 0x34f], bl
mov word [ebp - 0x3e8], 0x7325
mov byte [ebp - 0x3e6], bl
mov dword [ebp - 0x3f4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002d51
lea edx, [ebp - 0x3f4]
push edx
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x3f0]
lea ecx, [ebp - 0x32c]
push ecx
push ebx
lea edx, [ebp - 0x338]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x3f0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x3e8]
push eax
lea ecx, [ebp - 0x328]
push ecx
call fcn.100222af
add esp, 0xc
push 0x104
lea edx, [ebp - 0x220]
push ebx
push edx
call fcn.10025d10
sub esp, 0x10
mov esi, esp
lea eax, [ebp - 0x328]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x32c], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002da0
sub eax, edi
push eax
lea eax, [ebp - 0x328]
push eax
mov ecx, esi
call fcn.10018950
lea ecx, [ebp - 0x368]
call fcn.10003c90
mov edi, esp
mov esi, eax
mov word [ebp - 0x3e8], 0x7325
mov byte [ebp - 0x3e6], bl
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x3e8]
push ecx
lea edx, [ebp - 0x220]
push edx
call fcn.100222af
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x3e8], ax
mov byte [ebp - 0x3e6], al
jb 0x10002e1a
mov eax, dword [ebp - 0x368]
push eax
call fcn.10022061
add esp, 4
push 0x104
lea ecx, [ebp - 0x328]
push ebx
push ecx
call fcn.10025d10
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x3e8]
push eax
lea ecx, [ebp - 0x328]
push ecx
mov word [ebp - 0x3e8], 0x7325
mov byte [ebp - 0x3e6], bl
call fcn.100222af
add esp, 0x18
cmp dword [ebp - 0x3a0], 0x10
jb 0x10002e70
mov edx, dword [ebp - 0x3b4]
push edx
call fcn.10022061
add esp, 4
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.1002206c
mov esp, ebp
pop ebp
ret