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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5245dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c8
push esi
push edi
mov edi, ecx
mov esi, 0x20019
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x20], 0
call fcn.00414fd0
mov byte [ebp - 0x28], 0x75
test eax, eax
mov byte [ebp - 0x27], 0x4a
mov ecx, 0x20119
mov byte [ebp - 0x26], 0x4e
cmovne esi, ecx
mov byte [ebp - 0x25], 0x41
xor edx, edx
mov byte [ebp - 0x24], 0x40
mov edi, 0xf
mov byte [ebp - 0x23], 0x53
mov byte [ebp - 0x22], 0x47
mov byte [ebp - 0x21], 0x21
mov al, byte [ebp - 0x28]
mov dword [ebp - 0x14], edx
nop dword [eax]
mov al, byte [ebp + edx - 0x28]
mov ecx, edx
and ecx, edi
mov byte [ebp - 0xd], al
cmp ecx, edi
mov eax, 0xd2e67225
mov edx, 0xdc11f89e
cmovae ecx, edi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x25]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x28], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 8
jb 0x416660
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x80], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4166b7
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.0040bb00
mov dword [ebp - 4], 1
xor edx, edx
mov dword [ebp - 0x60], 0
mov edi, 0xf
mov byte [ebp - 0x5c], 0x73
mov byte [ebp - 0x5b], 0x6b
mov byte [ebp - 0x5a], 0x61
mov byte [ebp - 0x59], 0x7d
mov byte [ebp - 0x58], 0x76
mov byte [ebp - 0x57], 0x61
mov byte [ebp - 0x56], 0x7d
mov byte [ebp - 0x55], 0x6b
mov byte [ebp - 0x54], 0x79
mov byte [ebp - 0x53], 0x6b
mov byte [ebp - 0x52], 0x46
mov byte [ebp - 0x51], 0x50
mov byte [ebp - 0x50], 0x49
mov byte [ebp - 0x4f], 0x5a
mov byte [ebp - 0x4e], 0x49
mov byte [ebp - 0x4d], 0x5e
mov byte [ebp - 0x4c], 0x56
mov byte [ebp - 0x4b], 0x40
mov byte [ebp - 0x4a], 0x6b
mov byte [ebp - 0x49], 0x7a
mov byte [ebp - 0x48], 0x43
mov byte [ebp - 0x47], 0x49
mov byte [ebp - 0x46], 0x4f
mov byte [ebp - 0x45], 0x4a
mov byte [ebp - 0x44], 0x5a
mov byte [ebp - 0x43], 0x51
mov byte [ebp - 0x42], 0x4d
mov byte [ebp - 0x41], 0x22
mov byte [ebp - 0x40], 0x3b
mov byte [ebp - 0x3f], 0x2d
mov byte [ebp - 0x3e], 0x33
mov byte [ebp - 0x3d], 0x41
mov al, byte [ebp - 0x5c]
mov dword [ebp - 0x14], edx
mov al, byte [ebp + edx - 0x5c]
mov ecx, edx
and ecx, edi
mov byte [ebp - 0xd], al
cmp ecx, edi
mov eax, 0x24a81025
mov edx, 0x597a3088
cmovae ecx, edi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x25]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x5c], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x20
jb 0x416768
lea eax, [ebp - 0x60]
push eax
push esi
push 0
lea eax, [ebp - 0x5c]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, edi
test eax, eax
jne 0x4168a2
mov dword [ebp - 0x88], 0x20019
xor edx, edx
mov dword [ebp - 0x84], 0x400
mov byte [ebp - 0x3c], 0x3d
mov byte [ebp - 0x3b], 0x10
mov byte [ebp - 0x3a], 0x18
mov byte [ebp - 0x39], 0x12
mov byte [ebp - 0x38], 0x10
mov byte [ebp - 0x37], 0x1a
mov byte [ebp - 0x36], 0x1e
mov byte [ebp - 0x35], 0x37
mov byte [ebp - 0x34], 0xf
mov byte [ebp - 0x33], 0x19
mov byte [ebp - 0x32], 0x10
mov byte [ebp - 0x31], 0x84
mov al, byte [ebp - 0x3c]
mov dword [ebp - 0x14], edx
mov al, byte [ebp + edx - 0x3c]
mov ecx, edx
and ecx, esi
mov byte [ebp - 0xd], al
cmp ecx, esi
mov eax, 0xc0e02c75
mov edx, 0xd7844be7
cmovae ecx, esi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x75]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x3c], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0xc
jb 0x416810
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x6d4]
push eax
lea eax, [ebp - 0x88]
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416899
lea ecx, [ebp - 0x6d4]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416880
sub ecx, edx
lea eax, [ebp - 0x6d4]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.0048a9b0
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x30], 0x75
xor edx, edx
mov byte [ebp - 0x2f], 0x4a
mov byte [ebp - 0x2e], 0x4e
mov byte [ebp - 0x2d], 0x41
mov byte [ebp - 0x2c], 0x40
mov byte [ebp - 0x2b], 0x53
mov byte [ebp - 0x2a], 0x47
mov byte [ebp - 0x29], 0x21
mov al, byte [ebp - 0x30]
mov dword [ebp - 0x14], edx
nop word [eax + eax]
mov al, byte [ebp + edx - 0x30]
mov ecx, edx
and ecx, edi
mov byte [ebp - 0xd], al
cmp ecx, edi
mov eax, 0xd2e67225
mov edx, 0xdc11f89e
cmovae ecx, esi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x25]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x30], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 8
jb 0x4168d0
xorps xmm0, xmm0
mov dword [ebp - 0xac], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xa8], 0
movups xmmword [ebp - 0xbc], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416930
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040bb00
mov byte [ebp - 4], 2
lea eax, [ebp - 0x204]
push 0x7c
push 0
push eax
call fcn.004fec40
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileA]
test eax, eax
je 0x41699c
lea ecx, [ebp - 0x200]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416980
sub ecx, edx
lea eax, [ebp - 0x200]
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.0048a9b0
lea ecx, [ebp - 0x188]
call fcn.00415fb0
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
xor edx, edx
mov byte [ebp - 0x1a], 0xaf
mov byte [ebp - 0x19], 0xf1
mov cl, byte [ebp - 0x1a]
mov dword [ebp - 0x14], edx
nop
mov al, byte [ebp + edx - 0x1a]
mov ecx, edx
and ecx, 0xf
mov byte [ebp - 0xd], al
cmp ecx, 0xf
mov eax, 0xd9b2ebfd
mov edx, 0x89aed71c
cmovae ecx, esi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx - 3]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x1a], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 2
jb 0x4169c0
lea ecx, [ebp - 0x170]
call fcn.00415f10
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 4
xor edx, edx
mov byte [ebp - 0x18], 0xaf
mov esi, 0xf
mov byte [ebp - 0x17], 0xf1
mov cl, byte [ebp - 0x18]
mov dword [ebp - 0x14], edx
mov al, byte [ebp + edx - 0x18]
mov ecx, edx
and ecx, esi
mov byte [ebp - 0xd], al
cmp ecx, esi
mov eax, 0xd9b2ebfd
mov edx, 0x89aed71c
cmovae ecx, esi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx - 3]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x18], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 2
jb 0x416a28
mov esi, dword [ebp - 0x8c]
xor edx, edx
mov byte [ebp - 0x16], 0xaf
mov edi, 0xf
mov byte [ebp - 0x15], 0xf1
mov al, byte [ebp - 0x16]
mov dword [ebp - 0x14], edx
nop
mov al, byte [ebp + edx - 0x16]
mov ecx, edx
and ecx, edi
mov byte [ebp - 0xd], al
cmp ecx, edi
mov eax, 0xd9b2ebfd
mov edx, 0x89aed71c
cmovae ecx, edi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx - 3]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x16], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 2
jb 0x416a80
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x16]
mov edi, dword [ebp - 0x64]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416ad0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x70]
sub eax, edx
cmp eax, ecx
jb 0x416dc8
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebp - 0x80]
push ecx
cmovae eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x16]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x128]
call fcn.00493330
mov dword [ebp - 0x20], 2
mov byte [ebp - 4], 6
lea eax, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
lea ecx, [ebp - 0x128]
push dword [ebp - 0xac]
cmovae eax, dword [ebp - 0xbc]
push eax
call fcn.0048d360
mov dword [ebp - 0x94], 0
lea edx, [ebp - 0xa4]
mov dword [ebp - 0x90], 0
lea ecx, [ebp - 0x158]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 6
movups xmmword [ebp - 0xa4], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x94], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x18]
push eax
call fcn.0048f1f0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x110]
push esi
push eax
push dword [ebp - 0x68]
call fcn.00493160
lea eax, [ebp - 0x1a]
mov dword [ebp - 0x20], 0xe
push eax
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0x140]
call fcn.0048f1f0
mov byte [ebp - 4], 9
mov edx, eax
push dword [ebp - 0x68]
lea ecx, [ebp - 0xd4]
call fcn.0048f460
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x140]
call fcn.0040b870
mov esi, 0xe
mov dword [ebp - 0x20], esi
and esi, 0xfffffff7
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x110]
call fcn.0040b870
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x158]
call fcn.0040b870
and esi, 0xfffffffb
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x90]
cmp ecx, 0x10
jb 0x416c68
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416c5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416dcd
push ecx
push edx
call fcn.004e6a11
add esp, 8
and esi, 0xfffffffd
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x128]
call fcn.0040b870
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x170]
call fcn.0040b870
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x188]
call fcn.0040b870
xorps xmm0, xmm0
mov byte [ebp - 0xd8], 0
lea ecx, [ebp - 0x2d4]
movups xmmword [ebp - 0xf8], xmm0
movups xmmword [ebp - 0xe8], xmm0
call fcn.004a8c80
cmp dword [ebp - 0xc0], 0x10
lea eax, [ebp - 0xd4]
push dword [ebp - 0xc4]
cmovae eax, dword [ebp - 0xd4]
push eax
call fcn.004a8c90
push ecx
lea ecx, [ebp - 0x2d4]
call fcn.004a8d60
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.004a8e30
xorps xmm0, xmm0
lea ecx, [ebp - 0xf8]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416d34
sub ecx, edx
lea eax, [ebp - 0xf8]
push ecx
push eax
mov ecx, edi
call fcn.0040bb00
or esi, 1
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.0040b870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.0040b870
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0x10
jb 0x416da4
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416d9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416dd2
push ecx
push edx
call fcn.004e6a11
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0040b180
call fcn.00501f00
call fcn.00501f00
int3