Function at 0x409f00
Capabilities:
Hash data with md5
Persist via windows service
Reference wmi statements
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576bc1
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x5f1464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x94], 0
push eax
push 0x5d62bc
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x135], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
call fcn.0040e810
xor eax, eax
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
push 0x5d62bc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.0040e810
mov byte [ebp - 4], 1
call fcn.004087b0
mov ecx, dword [eax]
test ecx, ecx
je 0x409fae
add eax, 8
push eax
call ecx
xorps xmm0, xmm0
mov esi, reloc.WS2_32.dll_bind
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], vtable.CRegistry.0
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x134]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetServicesisharkVPNValue
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40a126
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
push str.isharkVPNGuid
call fcn.0041ddb0
cmp dword [ebp - 0x24], 0
jne 0x40a117
lea ecx, [ebp - 0xac]
mov byte [ebp - 0x135], 1
call fcn.00408210
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0xac]
mov ecx, esp
push eax
call fcn.0040d3e0
lea ecx, [ebp - 0x64]
call fcn.004073e0
add esp, 0x18
lea ecx, [ebp - 0x34]
push eax
call fcn.0040d250
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x40a094
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a08a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a97b
push edx
push ecx
call fcn.00545dac
add esp, 8
cmp dword [ebp - 0x20], 8
lea edx, [ebp - 0x34]
cmovae edx, dword [ebp - 0x34]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a0a4
sub ecx, esi
mov esi, dword [ebp - 0x18]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.isharkVPNGuid
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x40a0d7
push esi
call edi
xor esi, esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x98]
cmp edx, 0x10
jb 0x40a126
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a10b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a980
push edx
push ecx
call fcn.00545dac
add esp, 8
jmp 0x40a126
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x40a126
push esi
call edi
xor esi, esi
mov dword [ebp - 0x18], esi
call fcn.004087b0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x40a137
push dword [eax + 8]
call ecx
mov byte [ebp - 4], 1
test esi, esi
je 0x40a142
push esi
call edi
xor eax, eax
mov dword [ebp - 0x7c], 0
push eax
push 0x5d62bc
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.0040e810
xor eax, eax
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x64]
push 0x5d62bc
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.0040e810
xor eax, eax
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0xc4], 0
lea ecx, [ebp - 0xc4]
push 0x5d62bc
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
call fcn.0040e810
xorps xmm0, xmm0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xac]
movq qword [ebp - 0x9c], xmm0
movups xmmword [ebp - 0xac], xmm0
call fcn.0042af80
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x14], esp
push 4
push str.UUID
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040e810
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
push 0x29
push str.SELECT__FROM_Win32_ComputerSystemProduct
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00406440
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xac]
call fcn.0042b1a0
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040d250
mov edx, dword [ebp - 0x13c]
cmp edx, 8
jb 0x40a2a9
mov ecx, dword [ebp - 0x150]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a29f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a985
push edx
push ecx
call fcn.00545dac
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0xc
push str.SerialNumber
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040e810
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
push 0x1d
push str.SELECT__FROM_Win32_DiskDrive
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00406440
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xac]
call fcn.0042b1a0
push eax
lea ecx, [ebp - 0x64]
call fcn.0040d250
mov edx, dword [ebp - 0x13c]
cmp edx, 8
jb 0x40a359
mov ecx, dword [ebp - 0x150]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a34f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a98a
push edx
push ecx
call fcn.00545dac
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 7
push str.Product
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040e810
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
push 0x1d
push str.SELECT__FROM_Win32_BaseBoard
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00406440
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xac]
call fcn.0042b1a0
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040d250
mov edx, dword [ebp - 0x13c]
cmp edx, 8
jb 0x40a40c
mov ecx, dword [ebp - 0x150]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a402
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a98f
push edx
push ecx
call fcn.00545dac
add esp, 8
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x6c], 0
jne 0x40a4b5
cmp dword [ebp - 0x24], 0
jne 0x40a4b5
push 0
call fcn.00550eb9
push eax
call fcn.0055028b
add esp, 8
call fcn.0055026a
mov edx, eax
lea ecx, [ebp - 0x150]
call fcn.004066d0
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040d250
mov edx, dword [ebp - 0x13c]
cmp edx, 8
jb 0x40a4b5
mov ecx, dword [ebp - 0x150]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a994
push edx
push ecx
call fcn.00545dac
add esp, 8
push 0xc
push str.sjkfhhskd123
lea ecx, [ebp - 0x94]
call fcn.0040e930
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x94]
push eax
call fcn.0040e930
cmp dword [ebp - 0xb0], 8
lea eax, [ebp - 0xc4]
push dword [ebp - 0xb4]
cmovae eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0x94]
push eax
call fcn.0040e930
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x7c]
push dword [ebp - 0x6c]
cmovae eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x94]
push eax
call fcn.0040e930
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x94]
push eax
call fcn.0040e930
push 0
push 0x5d404c
mov ecx, 0x5f6c8c
call fcn.00406440
push 0
push 0x5d62bc
mov ecx, 0x5f6c14
call fcn.0040e810
sub esp, 0x18
lea eax, [ebp - 0x94]
mov ecx, esp
push eax
call fcn.0040d2e0
lea ecx, [ebp - 0x4c]
call fcn.00407830
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
mov ecx, esp
push eax
call fcn.0040d3e0
lea ecx, [ebp - 0x150]
call fcn.00408590
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x4c]
cmp eax, esi
je 0x40a604
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x40a5d0
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a5c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a999
push edx
push ecx
call fcn.00545dac
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x3c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x40a63e
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a634
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a999
push edx
push ecx
call fcn.00545dac
add esp, 8
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x130]
push eax
mov byte [ebp - 0xc8], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x130], 0x67452301
mov dword [ebp - 0x12c], 0xefcdab89
mov dword [ebp - 0x128], 0x98badcfe
mov dword [ebp - 0x124], 0x10325476
call fcn.0041d080
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x130]
call fcn.0041d850
mov esi, eax
cmp esi, 0x5f6c8c
je 0x40a737
mov ecx, dword [0x5f6ca0]
cmp ecx, 0x10
jb 0x40a6f4
mov eax, dword [0x5f6c8c]
inc ecx
cmp ecx, 0x1000
jb 0x40a6ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a99e
mov eax, edx
push ecx
push eax
call fcn.00545dac
add esp, 8
mov dword [0x5f6c9c], 0
mov dword [0x5f6ca0], 0xf
mov byte [0x5f6c8c], 0
movups xmm0, xmmword [esi]
movups xmmword [0x5f6c8c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x5f6c9c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x40a771
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a767
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a99e
push edx
push ecx
call fcn.00545dac
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x5f6c8c
call fcn.0040d3e0
lea ecx, [ebp - 0x150]
call fcn.004073e0
add esp, 0x18
mov ecx, 0x5f6c14
push eax
call fcn.0040d250
mov edx, dword [ebp - 0x13c]
cmp edx, 8
jb 0x40a7d9
mov ecx, dword [ebp - 0x150]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a7cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a9a3
push edx
push ecx
call fcn.00545dac
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x40a80d
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a803
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a9a8
push edx
push ecx
call fcn.00545dac
add esp, 8
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 8
jb 0x40a85f
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a855
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a9a8
push edx
push ecx
call fcn.00545dac
add esp, 8
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x40a899
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a88f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a9a8
push edx
push ecx
call fcn.00545dac
add esp, 8
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x40a8d3
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a8c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a9a8
push edx
push ecx
call fcn.00545dac
add esp, 8
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x40a90d
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a903
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a9a8
push edx
push ecx
call fcn.00545dac
add esp, 8
mov edx, dword [ebp - 0x80]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x40a95a
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a950
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a9a8
push edx
push ecx
call fcn.00545dac
add esp, 8
mov al, byte [ebp - 0x135]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b6c
mov esp, ebp
pop ebp
ret
call fcn.005500e6
call fcn.005500e6
call fcn.005500e6
call fcn.005500e6
call fcn.005500e6
call fcn.005500e6
call fcn.005500e6
call fcn.005500e6
call fcn.005500e6
call fcn.005500e6
int3