Function at 0x10002c20
Capabilities:
Encode data using xor
Get hostname
Initialize winsock library
Query or enumerate registry value
Resolve dns
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x534
mov eax, dword [0x10024490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x534], ebx
mov eax, 0xd2
xor esi, esi
mov cl, byte [esi + 0x100201bc]
xor cl, al
inc eax
mov byte [ebp + esi - 0x348], cl
inc esi
and eax, 0xff
cmp esi, 0x13
jb 0x10002c45
mov byte [ebp - 0x335], bl
mov eax, 0x8e
xor esi, esi
lea ecx, [ecx]
mov dl, byte [esi + 0x100201d0]
xor dl, al
inc eax
mov byte [ebp + esi - 0x37c], dl
inc esi
and eax, 0xff
cmp esi, 0x2e
jb 0x10002c70
lea eax, [ebp - 0x530]
push eax
push 1
push ebx
lea ecx, [ebp - 0x37c]
push ecx
push closesocket
mov byte [ebp - 0x34e], bl
mov dword [ebp - 0x52c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002cf2
lea edx, [ebp - 0x52c]
push edx
lea eax, [ebp - 0x320]
push eax
mov eax, dword [ebp - 0x530]
lea ecx, [ebp - 0x534]
push ecx
push ebx
lea edx, [ebp - 0x348]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x530]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x320]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x534], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002d12
sub eax, edi
push eax
lea edx, [ebp - 0x320]
push edx
mov ecx, esi
call fcn.10006e20
lea ecx, [ebp - 0x368]
call fcn.10002630
mov esi, eax
mov edi, esp
mov word [ebp - 0x52c], 0x7325
mov byte [ebp - 0x52a], bl
mov ecx, 7
lea eax, [ebp - 0x52c]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.1000934c
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x52c], bx
mov byte [ebp - 0x52a], bl
jb 0x10002d8a
mov edx, dword [ebp - 0x368]
push edx
call fcn.10009236
add esp, 4
mov dword [ebp - 0x32c], 0x6c697542
mov dword [ebp - 0x328], 0x62614c64
mov byte [ebp - 0x324], bl
mov eax, 0x6a
xor esi, esi
jmp 0x10002db0
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 0x10002db0
lea edx, [ebp - 0x530]
push edx
push 1
push ebx
lea eax, [ebp - 0x378]
push eax
push closesocket
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x52c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002e32
lea ecx, [ebp - 0x52c]
push ecx
lea edx, [ebp - 0x320]
push edx
mov edx, dword [ebp - 0x530]
lea eax, [ebp - 0x534]
push eax
push ebx
lea ecx, [ebp - 0x32c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x530]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov dword [ebp - 0x32c], 0x25207325
mov word [ebp - 0x328], 0x73
call fcn.1000934c
sub esp, 0xc
mov esi, esp
lea eax, [ebp - 0x110]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x534], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002e86
sub eax, edi
push eax
lea edx, [ebp - 0x110]
push edx
mov ecx, esi
call fcn.10006e20
lea ecx, [ebp - 0x368]
call fcn.10002630
mov esi, eax
mov edi, esp
mov word [ebp - 0x52c], 0x7325
mov byte [ebp - 0x52a], bl
mov ecx, 7
lea eax, [ebp - 0x52c]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.1000934c
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x52c], ax
mov byte [ebp - 0x52a], al
jb 0x10002f00
mov edx, dword [ebp - 0x368]
push edx
call fcn.10009236
add esp, 4
push 0x104
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.10011db0
mov edi, str.PriwyIDP
sub edi, 0x6f747e8f
add esp, 0xc
mov ecx, edi
lea eax, [ebp - 0x340]
mov dword [ebp - 0x530], edi
call fcn.100082b0
mov dword [ebp - 0x534], eax
mov eax, 0x7f
xor esi, esi
mov cl, byte [esi + 0x10020240]
xor cl, al
inc eax
mov byte [ebp + esi - 0x398], cl
inc esi
and eax, 0xff
cmp esi, 0x4c
jb 0x10002f40
lea edx, [ebp - 0x52c]
push edx
push 1
push ebx
lea eax, [ebp - 0x398]
push eax
push closesocket
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x330], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002fc2
lea ecx, [ebp - 0x330]
push ecx
mov ecx, dword [ebp - 0x534]
lea edx, [ebp - 0x320]
push edx
mov edx, dword [ebp - 0x52c]
lea eax, [ebp - 0x328]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x52c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x320]
lea edx, [eax + 1]
jmp 0x10002fd0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002fd0
sub eax, edx
cmp eax, 2
setae al
cmp al, bl
je 0x10003107
mov ecx, edi
lea eax, [ebp - 0x340]
call fcn.100082b0
mov esi, eax
mov ecx, 0x7f
xor edi, edi
lea ecx, [ecx]
mov dl, byte [edi + 0x10020240]
xor dl, cl
inc ecx
mov byte [ebp + edi - 0x398], dl
inc edi
and ecx, 0xff
cmp edi, 0x4c
jb 0x10003000
lea eax, [ebp - 0x398]
push eax
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x32c], 0x25207325
mov word [ebp - 0x328], 0x73
call fcn.10002b90
add esp, 4
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x32c]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.1000934c
sub esp, 0xc
mov esi, esp
lea eax, [ebp - 0x110]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x328], esp
mov byte [esi], bl
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10003080
sub eax, edi
push eax
lea ecx, [ebp - 0x110]
push ecx
mov ecx, esi
call fcn.10006e20
lea ecx, [ebp - 0x368]
call fcn.10002630
mov esi, eax
mov edi, esp
lea edx, [ebp - 0x52c]
push edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x52c], 0x7325
mov byte [ebp - 0x52a], bl
mov ecx, 7
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1000934c
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x52c], ax
mov byte [ebp - 0x52a], al
jb 0x100030fa
mov ecx, dword [ebp - 0x368]
push ecx
call fcn.10009236
add esp, 4
mov edi, dword [ebp - 0x530]
mov byte [0x10126e50], 1
push 0x104
lea edx, [ebp - 0x110]
push ebx
push edx
call fcn.10011db0
add esp, 0xc
cmp byte [0x10126e50], bl
jne 0x10003188
mov ecx, edi
lea eax, [ebp - 0x340]
call fcn.100082b0
mov edi, eax
mov ecx, 0x87
xor esi, esi
lea ebx, [ebx]
mov al, byte [esi + 0x10020290]
xor al, cl
inc ecx
mov byte [ebp + esi - 0x398], al
inc esi
and ecx, 0xff
cmp esi, 0x4c
jb 0x10003140
lea ecx, [ebp - 0x398]
push ecx
mov esi, edi
mov byte [ebp - 0x34c], bl
call fcn.10002b90
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10003176
sub eax, edx
cmp eax, 2
jb 0x10003188
mov al, 1
jmp 0x1000318a
xor al, al
cmp al, bl
je 0x100032b1
mov ecx, dword [ebp - 0x530]
lea eax, [ebp - 0x340]
call fcn.100082b0
mov esi, eax
mov ecx, 0x87
xor edi, edi
lea esp, [esp]
mov dl, byte [edi + 0x10020290]
xor dl, cl
inc ecx
mov byte [ebp + edi - 0x398], dl
inc edi
and ecx, 0xff
cmp edi, 0x4c
jb 0x100031b0
lea eax, [ebp - 0x398]
push eax
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x32c], 0x25207325
mov word [ebp - 0x328], 0x73
call fcn.10002b90
add esp, 4
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x32c]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.1000934c
sub esp, 0xc
mov esi, esp
lea eax, [ebp - 0x110]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x328], esp
mov byte [esi], bl
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10003230
sub eax, edi
push eax
lea ecx, [ebp - 0x110]
push ecx
mov ecx, esi
call fcn.10006e20
lea ecx, [ebp - 0x368]
call fcn.10002630
mov esi, eax
mov edi, esp
lea edx, [ebp - 0x52c]
push edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x52c], 0x7325
mov byte [ebp - 0x52a], bl
mov ecx, 7
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1000934c
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x52c], ax
mov byte [ebp - 0x52a], al
jb 0x100032aa
mov ecx, dword [ebp - 0x368]
push ecx
call fcn.10009236
add esp, 4
mov byte [0x10126e50], 1
push 0x104
lea edx, [ebp - 0x110]
push ebx
push edx
call fcn.10011db0
add esp, 0xc
cmp byte [0x10126e50], bl
jne 0x10003338
mov ecx, dword [ebp - 0x530]
lea eax, [ebp - 0x340]
call fcn.100082b0
mov edi, eax
mov ecx, 0x62
xor esi, esi
jmp 0x100032f0
mov al, byte [esi + str._6_1:_6____5_3_]
xor al, cl
inc ecx
mov byte [ebp + esi - 0x398], al
inc esi
and ecx, 0xff
cmp esi, 0x4c
jb 0x100032f0
lea ecx, [ebp - 0x398]
push ecx
mov esi, edi
mov byte [ebp - 0x34c], bl
call fcn.10002b90
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10003326
sub eax, edx
cmp eax, 2
jb 0x10003338
mov al, 1
jmp 0x1000333a
xor al, al
cmp al, bl
je 0x10003476
mov ecx, dword [ebp - 0x530]
lea eax, [ebp - 0x340]
call fcn.100082b0
mov esi, eax
mov ecx, 0x62
xor edi, edi
lea esp, [esp]
mov dl, byte [edi + str._6_1:_6____5_3_]
xor dl, cl
inc ecx
mov byte [ebp + edi - 0x398], dl
inc edi
and ecx, 0xff
cmp edi, 0x4c
jb 0x10003360
lea eax, [ebp - 0x398]
push eax
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x32c], 0x25207325
mov word [ebp - 0x328], 0x73
call fcn.10002b90
add esp, 4
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x32c]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.1000934c
sub esp, 0xc
mov esi, esp
lea eax, [ebp - 0x110]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x328], esp
mov byte [esi], bl
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100033e0
sub eax, edi
push eax
lea ecx, [ebp - 0x110]
push ecx
mov ecx, esi
call fcn.10006e20
lea ecx, [ebp - 0x368]
call fcn.10002630
mov esi, eax
mov edi, esp
lea edx, [ebp - 0x52c]
push edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x52c], 0x7325
mov byte [ebp - 0x52a], bl
mov ecx, 7
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1000934c
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x52c], ax
mov byte [ebp - 0x52a], al
jb 0x1000345a
mov ecx, dword [ebp - 0x368]
push ecx
call fcn.10009236
add esp, 4
push 0x104
lea edx, [ebp - 0x110]
push ebx
push edx
call fcn.10011db0
add esp, 0xc
mov byte [0x10126e50], 1
mov ecx, 0x3f631251
lea eax, [ebp - 0x340]
call fcn.10008340
mov edi, eax
mov eax, 0x4f
xor esi, esi
nop
mov cl, byte [esi + 0x1002033c]
xor cl, al
inc eax
mov byte [ebp + esi - 0x360], cl
inc esi
and eax, 0xff
cmp esi, 0x14
jb 0x10003490
lea edx, [ebp - 0x530]
push edx
push 1
push ebx
lea eax, [ebp - 0x360]
push eax
push closesocket
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x334], 0x25207325
mov word [ebp - 0x330], 0x73
mov dword [ebp - 0x534], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000351f
lea ecx, [ebp - 0x534]
push ecx
mov ecx, dword [ebp - 0x530]
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x328]
push eax
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x530]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x334]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.1000934c
sub esp, 0xc
mov esi, esp
lea eax, [ebp - 0x110]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x328], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10003560
sub eax, edi
push eax
lea ecx, [ebp - 0x110]
push ecx
mov ecx, esi
call fcn.10006e20
lea ecx, [ebp - 0x368]
call fcn.10002630
mov esi, eax
mov edi, esp
lea edx, [ebp - 0x52c]
push edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x52c], 0x7325
mov byte [ebp - 0x52a], bl
mov ecx, 7
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1000934c
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x52c], ax
mov byte [ebp - 0x52a], al
jb 0x100035da
mov ecx, dword [ebp - 0x368]
push ecx
call fcn.10009236
add esp, 4
push 0x104
lea edx, [ebp - 0x110]
push ebx
push edx
call fcn.10011db0
add esp, 0xc
mov dword [ebp - 0x340], 0x52455355
mov dword [ebp - 0x33c], 0x454d414e
mov byte [ebp - 0x338], bl
mov eax, 0x4f
xor esi, esi
mov cl, byte [esi + 0x1002033c]
xor cl, al
inc eax
mov byte [ebp + esi - 0x360], cl
inc esi
and eax, 0xff
cmp esi, 0x14
jb 0x10003610
lea edx, [ebp - 0x530]
push edx
push 1
push ebx
lea eax, [ebp - 0x360]
push eax
push closesocket
mov byte [ebp - 0x34c], bl
mov dword [ebp - 0x334], 0x25207325
mov word [ebp - 0x330], 0x73
mov dword [ebp - 0x534], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100036a5
lea ecx, [ebp - 0x534]
push ecx
lea edx, [ebp - 0x320]
push edx
mov edx, dword [ebp - 0x530]
lea eax, [ebp - 0x328]
push eax
push ebx
lea ecx, [ebp - 0x340]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x530]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x334]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.1000934c
sub esp, 0xc
mov esi, esp
lea eax, [ebp - 0x110]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x328], esp
mov byte [esi], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100036e6
sub eax, edi
push eax
lea edx, [ebp - 0x110]
push edx
mov ecx, esi
call fcn.10006e20
lea ecx, [ebp - 0x368]
call fcn.10002630
mov esi, eax
mov edi, esp
mov word [ebp - 0x52c], 0x7325
mov byte [ebp - 0x52a], bl
mov ecx, 7
lea eax, [ebp - 0x52c]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.1000934c
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x52c], ax
mov byte [ebp - 0x52a], al
jb 0x10003760
mov edx, dword [ebp - 0x368]
push edx
call fcn.10009236
add esp, 4
push 0x104
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.10011db0
add esp, 0xc
lea ecx, [ebp - 0x528]
push ecx
push 0x101
mov dword [ebp - 0x32c], 0x25207325
mov word [ebp - 0x328], 0x73
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xff
lea edx, [ebp - 0x320]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0xff
lea ecx, [ebp - 0x320]
push ebx
push ecx
call fcn.10011db0
add esp, 0xc
push esi
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.1000934c
sub esp, 0xc
mov esi, esp
lea eax, [ebp - 0x110]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x328], esp
mov byte [esi], bl
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10003820
sub eax, edi
push eax
lea edx, [ebp - 0x110]
push edx
mov ecx, esi
call fcn.10006e20
lea ecx, [ebp - 0x368]
call fcn.10002630
mov esi, eax
mov edi, esp
mov word [ebp - 0x52c], 0x7325
mov byte [ebp - 0x52a], bl
mov ecx, 7
lea eax, [ebp - 0x52c]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.1000934c
xor eax, eax
add esp, 0x24
cmp dword [ebp - 0x354], 0x10
mov word [ebp - 0x52c], ax
mov byte [ebp - 0x52a], al
jb 0x1000389a
mov edx, dword [ebp - 0x368]
push edx
call fcn.10009236
add esp, 4
push 0x104
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.10011db0
add esp, 0xc
xor edx, edx
mov al, byte [ebp + edx - 0x218]
cmp al, 0x41
jl 0x100038c9
cmp al, 0x5a
jg 0x100038c9
add al, 0x20
mov byte [ebp + edx - 0x218], al
lea eax, [ebp - 0x218]
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100038d3
sub eax, esi
cmp edx, eax
jbe 0x100038b1
mov dword [ebp - 0x32c], 0x756c6176
mov dword [ebp - 0x328], 0x393965
mov eax, 0xa4
xor esi, esi
jmp 0x10003900
mov cl, byte [esi + 0x10020354]
xor cl, al
inc eax
mov byte [ebp + esi - 0x364], cl
inc esi
and eax, 0xff
cmp esi, 0x15
jb 0x10003900
lea edi, [ebp - 0x32c]
lea ecx, [ebp - 0x364]
mov byte [ebp - 0x34f], bl
call fcn.10002a80
test eax, eax
sete al
cmp al, bl
je 0x10003a1a
mov eax, 0xa4
xor esi, esi
mov dl, byte [esi + 0x10020354]
xor dl, al
inc eax
mov byte [ebp + esi - 0x364], dl
inc esi
and eax, 0xff
cmp esi, 0x15
jb 0x10003946
lea eax, [ebp - 0x530]
push eax
lea ecx, [ebp - 0x364]
push ecx
push closesocket
mov byte [ebp - 0x34f], bl
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, 0xa4
xor esi, esi
mov dl, byte [esi + 0x10020354]
xor dl, al
inc eax
mov byte [ebp + esi - 0x364], dl
inc esi
and eax, 0xff
cmp esi, 0x15
jb 0x10003987
lea eax, [ebp - 0x530]
push eax
push 0xf003f
push ebx
lea ecx, [ebp - 0x364]
push ecx
push closesocket
mov byte [ebp - 0x34f], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x10003afe
mov ecx, dword [ebp - 0x530]
push 0x20
lea edx, [ebp - 0x218]
push edx
push 1
push ebx
lea eax, [ebp - 0x32c]
push eax
push ecx
mov dword [ebp - 0x32c], 0x756c6176
mov dword [ebp - 0x328], 0x393965
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x218]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009241
mov esp, ebp
pop ebp
ret
push 0x104
lea edx, [ebp - 0x218]
push ebx
push edx
call fcn.10011db0
add esp, 0xc
mov dword [ebp - 0x334], 0x756c6176
mov dword [ebp - 0x330], 0x393965
mov eax, 0xa4
xor esi, esi
lea ebx, [ebx]
mov cl, byte [esi + 0x10020354]
xor cl, al
inc eax
mov byte [ebp + esi - 0x364], cl
inc esi
and eax, 0xff
cmp esi, 0x15
jb 0x10003a50
lea edx, [ebp - 0x530]
push edx
push 1
push ebx
lea eax, [ebp - 0x364]
push eax
push closesocket
mov byte [ebp - 0x34f], bl
mov word [ebp - 0x52c], 0x7325
mov byte [ebp - 0x52a], bl
mov dword [ebp - 0x534], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10003ae1
lea ecx, [ebp - 0x534]
push ecx
lea edx, [ebp - 0x320]
push edx
mov edx, dword [ebp - 0x530]
lea eax, [ebp - 0x328]
push eax
push ebx
lea ecx, [ebp - 0x334]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x530]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x52c]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.1000934c
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
lea eax, [ebp - 0x218]
pop ebx
call fcn.10009241
mov esp, ebp
pop ebp
ret