Function at 0x40a930
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Get comspec environment variable
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586650
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
mov eax, dword [0x743004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x8c], 0x71abb8
mov dword [ebp - 0x8c], vtable.CVolObject.0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x8c], vtable.CVolMem.0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x74], 0x40
mov dword [ebp - 4], 1
mov dword [ebp - 0xa8], 0x71abb8
mov dword [ebp - 0xa8], vtable.CVolObject.0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0xa8], vtable.CVolMem.0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x90], 0x40
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], 0x71abb8
mov dword [ebp - 0x54], 0x63002f
mov dword [ebp - 0x50], 0x640020
mov dword [ebp - 0x4c], 0x6c0065
mov word [ebp - 0x48], 0x20
mov dword [ebp - 0x64], 0x3e0020
mov dword [ebp - 0x60], 0x6e0020
mov dword [ebp - 0x5c], 0x6c0075
mov word [ebp - 0x58], 0
mov dword [ebp - 0x28], vtable.CVolObject.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], vtable.CVolMem.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0x40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.00413b30
mov esi, eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x44]
cmp edx, fcn.00401e60
je 0x40aac4
lea ecx, [ebp - 0x8c]
call edx
push esi
lea ecx, [ebp - 0x8c]
call fcn.00408c50
mov byte [ebp - 4], 5
mov dword [ebp - 0x44], vtable.CVolMem.0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x40ab05
mov eax, dword [ebp - 0x44]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolMem.virtual_12
jne 0x40ab00
mov ecx, 0x74c958
call fcn.0041a600
jmp 0x40ab05
lea ecx, [ebp - 0x44]
call eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], vtable.CVolObject.0
call fcn.00413b30
mov esi, eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 0x44]
cmp edx, fcn.00401e60
je 0x40ab4c
lea ecx, [ebp - 0xa8]
call edx
push esi
lea ecx, [ebp - 0xa8]
call fcn.00408c50
mov byte [ebp - 4], 5
mov dword [ebp - 0x44], vtable.CVolMem.0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x40ab8d
mov eax, dword [ebp - 0x44]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolMem.virtual_12
jne 0x40ab88
mov ecx, 0x74c958
call fcn.0041a600
jmp 0x40ab8d
lea ecx, [ebp - 0x44]
call eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 5
xor ecx, ecx
cmp dword [ebp - 0x78], ecx
mov eax, dword [ebp - 0x80]
push 0x104
cmove eax, ecx
mov dword [ebp - 0x44], vtable.CVolObject.0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [ebp - 0x78], 0
je 0x40abd0
mov eax, dword [ebp - 0x80]
jmp 0x40abd2
xor eax, eax
push 0x104
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x40b15a
mov ecx, dword [ebp - 0x9c]
xor eax, eax
cmp dword [ebp - 0x94], eax
push 0x104
cmove ecx, eax
push ecx
push 0x71acf0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x40b15a
mov ebx, dword [ebp - 0x14]
mov eax, 0x40
mov ecx, dword [ebp - 0x1c]
lea edi, [ebx + 0xe]
cmp edi, ebx
je 0x40acce
test edi, edi
jne 0x40ac6a
test ecx, ecx
je 0x40ac51
mov eax, dword [ebp - 0x28]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolMem.virtual_12
jne 0x40ac4c
mov ecx, 0x74c958
call fcn.0041a600
jmp 0x40ac51
lea ecx, [ebp - 0x28]
call eax
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jmp 0x40acce
test ecx, ecx
jne 0x40ac7b
push edi
lea ecx, [ebp - 0x28]
call fcn.00419c40
mov ecx, eax
jmp 0x40acce
mov esi, dword [ebp - 0x10]
test esi, esi
cmovle esi, eax
mov eax, dword [ebp - 0x18]
cmp eax, edi
jl 0x40ac90
sub eax, edi
cmp eax, esi
jle 0x40accb
mov eax, edi
cdq
idiv esi
mov eax, dword [ebp - 0x28]
sub esi, edx
add esi, edi
push esi
mov eax, dword [eax + 8]
push ecx
cmp eax, method.CVolMem.virtual_8
jne 0x40acbe
mov ecx, 0x74c958
call fcn.0041a570
mov ecx, eax
test ecx, ecx
je 0x40b298
jmp 0x40acc5
lea ecx, [ebp - 0x28]
call eax
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
movq xmm0, qword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
movq qword [ecx + ebx], xmm0
mov dword [ecx + ebx + 8], eax
mov ax, word [ebp - 0x48]
mov word [ecx + ebx + 0xc], ax
mov eax, dword [ebp - 0x6c]
add eax, eax
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x78]
cmp eax, edi
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x44], 0x71abb8
cmovl edi, eax
mov dword [ebp - 0x44], vtable.CVolObject.0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x44], vtable.CVolMem.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0x40
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x30]
sub eax, ebx
mov dword [ebp - 0x44], vtable.CVolMem.0
cmp eax, edi
jl 0x40ae0f
cmp edi, 1
jne 0x40ad83
test esi, esi
jne 0x40ad73
mov eax, dword [ebp - 0x38]
xor cl, cl
mov byte [ebx + eax], cl
inc dword [ebp - 0x30]
jmp 0x40ae3a
mov eax, dword [ebp - 0x38]
mov cl, byte [esi]
mov byte [ebx + eax], cl
inc dword [ebp - 0x30]
jmp 0x40ae3a
cmp edi, 2
jne 0x40adb0
test esi, esi
jne 0x40ad9d
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov word [ebx + eax], cx
add dword [ebp - 0x30], edi
jmp 0x40ae3a
mov eax, dword [ebp - 0x38]
movzx ecx, word [esi]
mov word [ebx + eax], cx
add dword [ebp - 0x30], 2
jmp 0x40ae3a
cmp edi, 4
jne 0x40add4
test esi, esi
jne 0x40adc6
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov dword [ebx + eax], ecx
add dword [ebp - 0x30], edi
jmp 0x40ae3a
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi]
mov dword [ebx + eax], ecx
add dword [ebp - 0x30], 4
jmp 0x40ae3a
cmp edi, 8
jne 0x40ae0f
test esi, esi
jne 0x40adfa
mov eax, dword [ebp - 0x38]
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov dword [ebx + eax], ecx
mov dword [ebx + eax + 4], edx
add dword [ebp - 0x30], edi
jmp 0x40ae3a
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ebx + eax], ecx
mov dword [ebx + eax + 4], edx
add dword [ebp - 0x30], 8
jmp 0x40ae3a
test edi, edi
jle 0x40ae3a
lea eax, [edi + ebx]
push eax
lea ecx, [ebp - 0x44]
call fcn.00419ca0
add eax, ebx
push edi
test esi, esi
je 0x40ae2f
push esi
push eax
call fcn.0056afe0
jmp 0x40ae37
push 0
push eax
call fcn.0056b560
add esp, 0xc
mov byte [ebp - 4], 0xa
xor eax, eax
mov edi, dword [ebp - 0x30]
test edi, edi
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x14]
cmove esi, eax
mov eax, dword [ebp - 0x18]
sub eax, ebx
mov dword [ebp - 0x68], 1
cmp eax, edi
jl 0x40af17
cmp edi, 1
jne 0x40ae8b
test esi, esi
jne 0x40ae7b
mov eax, dword [ebp - 0x1c]
xor cl, cl
mov byte [ebx + eax], cl
inc dword [ebp - 0x14]
jmp 0x40af42
mov eax, dword [ebp - 0x1c]
mov cl, byte [esi]
mov byte [ebx + eax], cl
inc dword [ebp - 0x14]
jmp 0x40af42
cmp edi, 2
jne 0x40aeb8
test esi, esi
jne 0x40aea5
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov word [ebx + eax], cx
add dword [ebp - 0x14], edi
jmp 0x40af42
mov eax, dword [ebp - 0x1c]
movzx ecx, word [esi]
mov word [ebx + eax], cx
add dword [ebp - 0x14], 2
jmp 0x40af42
cmp edi, 4
jne 0x40aedc
test esi, esi
jne 0x40aece
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebx + eax], ecx
add dword [ebp - 0x14], edi
jmp 0x40af42
mov eax, dword [ebp - 0x1c]
mov ecx, dword [esi]
mov dword [ebx + eax], ecx
add dword [ebp - 0x14], 4
jmp 0x40af42
cmp edi, 8
jne 0x40af17
test esi, esi
jne 0x40af02
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov dword [ebx + eax], ecx
mov dword [ebx + eax + 4], edx
add dword [ebp - 0x14], edi
jmp 0x40af42
mov eax, dword [ebp - 0x1c]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ebx + eax], ecx
mov dword [ebx + eax + 4], edx
add dword [ebp - 0x14], 8
jmp 0x40af42
test edi, edi
jle 0x40af42
lea eax, [edi + ebx]
push eax
lea ecx, [ebp - 0x28]
call fcn.00419ca0
add eax, ebx
push edi
test esi, esi
je 0x40af37
push esi
push eax
call fcn.0056afe0
jmp 0x40af3f
push 0
push eax
call fcn.0056b560
add esp, 0xc
mov eax, 1
mov dword [ebp - 0x68], eax
and eax, 0xfffffffe
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x44], vtable.CVolMem.0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x40af85
mov eax, dword [ebp - 0x44]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolMem.virtual_12
jne 0x40af80
mov ecx, 0x74c958
call fcn.0041a600
jmp 0x40af85
lea ecx, [ebp - 0x44]
call eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], vtable.CVolObject.0
lea edi, [ebx + 0xe]
cmp edi, ebx
je 0x40b05f
test edi, edi
jne 0x40aff6
test ecx, ecx
je 0x40afdd
mov eax, dword [ebp - 0x28]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolMem.virtual_12
jne 0x40afd8
mov ecx, 0x74c958
call fcn.0041a600
jmp 0x40afdd
lea ecx, [ebp - 0x28]
call eax
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jmp 0x40b05f
test ecx, ecx
jne 0x40b007
push edi
lea ecx, [ebp - 0x28]
call fcn.00419c40
mov ecx, eax
jmp 0x40b05f
mov esi, dword [ebp - 0x10]
mov eax, 0x40
test esi, esi
cmovle esi, eax
mov eax, dword [ebp - 0x18]
cmp eax, edi
jl 0x40b021
sub eax, edi
cmp eax, esi
jle 0x40b05c
mov eax, edi
cdq
idiv esi
mov eax, dword [ebp - 0x28]
sub esi, edx
add esi, edi
push esi
mov eax, dword [eax + 8]
push ecx
cmp eax, method.CVolMem.virtual_8
jne 0x40b04f
mov ecx, 0x74c958
call fcn.0041a570
mov ecx, eax
test ecx, ecx
je 0x40b298
jmp 0x40b056
lea ecx, [ebp - 0x28]
call eax
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
movq xmm0, qword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
movq qword [ecx + ebx], xmm0
xorps xmm0, xmm0
mov dword [ecx + ebx + 8], eax
mov ax, word [ebp - 0x58]
mov word [ecx + ebx + 0xc], ax
xor ecx, ecx
cmp dword [ebp - 0x94], ecx
mov eax, dword [ebp - 0x9c]
cmove eax, ecx
mov dword [ebp - 0xcc], 0
cmp dword [ebp - 0x14], ecx
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x1c]
cmove eax, ecx
movlpd qword [ebp - 0xc4], xmm0
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xe4]
push eax
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xe4], 0x3c
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], str.Open
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xe0], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40b15a
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x40
push dword [ebp - 0xac]
call esi
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0
lea ecx, [ebp - 0x8c]
call fcn.0040b2a0
push eax
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], vtable.CVolMem.0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x40b18f
mov eax, dword [ebp - 0x28]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolMem.virtual_12
jne 0x40b18a
mov ecx, 0x74c958
call fcn.0041a600
jmp 0x40b18f
lea ecx, [ebp - 0x28]
call eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], vtable.CVolObject.0
mov byte [ebp - 4], 1
mov dword [ebp - 0xa8], vtable.CVolMem.0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x40b1f0
mov eax, dword [ebp - 0xa8]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolMem.virtual_12
jne 0x40b1e8
mov ecx, 0x74c958
call fcn.0041a600
jmp 0x40b1f0
lea ecx, [ebp - 0xa8]
call eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0xa8], vtable.CVolObject.0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x8c], vtable.CVolMem.0
mov dword [ebp - 4], 0x10
mov edx, dword [ebp - 0x80]
test edx, edx
je 0x40b260
mov eax, dword [ebp - 0x8c]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolMem.virtual_12
jne 0x40b258
mov ecx, 0x74c958
call fcn.0041a600
jmp 0x40b260
lea ecx, [ebp - 0x8c]
call eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x8c], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.0056e115
int3