Function at 0x40bb1e
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Self delete

Disassembly:
push 0x51c
mov eax, 0x44306b
call fcn.00434958
mov esi, 0x208
xor ebx, ebx
push esi
lea eax, [ebp - 0x222]
push ebx
push eax
mov word [ebp - 0x224], bx
call fcn.004329b0
push esi
lea eax, [ebp - 0x432]
push ebx
push eax
mov word [ebp - 0x434], bx
call fcn.004329b0
add esp, 0x18
mov esi, 0x104
push esi
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40bf1f
push esi
lea eax, [ebp - 0x434]
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x40bf1f
lea eax, [ebp - 0x4c4]
call fcn.0040eed6
push 7
mov dword [ebp - 4], ebx
pop esi
mov dword [ebp - 0x470], esi
mov dword [ebp - 0x474], ebx
mov word [ebp - 0x484], bx
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x4c4]
push eax
mov byte [ebp - 4], 1
call fcn.0040ef60
test al, al
jne 0x40bbdf
push ebx
push 1
jmp 0x40bf04
push str..bat
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0040515d
add esp, 0xc
lea eax, [ebp - 0x450]
lea ecx, [ebp - 0x488]
call fcn.0040d218
test al, al
jne 0x40bc1f
push ebx
push 1
lea esi, [ebp - 0x450]
call fcn.0040117c
jmp 0x40bbd7
lea eax, [ebp - 0x4c4]
call fcn.0040ef15
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x458], ebx
mov word [ebp - 0x468], bx
push str.if_not_exist__
lea eax, [ebp - 0x46c]
push eax
mov byte [ebp - 4], 3
call fcn.00404bd2
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x46c]
push eax
call fcn.00404bd2
push str.___del__0___else__ping_127.0.0.1__n_2del__
lea eax, [ebp - 0x46c]
push eax
call fcn.00404bd2
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x46c]
push eax
call fcn.00404bd2
push str.__0_
lea eax, [ebp - 0x46c]
push eax
call fcn.00404bd2
lea esi, [ebp - 0x4c8]
call fcn.0040e530
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 4
call fcn.0040f203
test al, al
jne 0x40bcd2
mov eax, esi
call fcn.0040f1de
push ebx
push 1
lea esi, [ebp - 0x46c]
call fcn.0040117c
jmp 0x40bc0f
lea edi, [ebp - 0x46c]
lea eax, [ebp - 0x4a4]
call fcn.0040f99f
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x490]
cmp edi, ebx
je 0x40becd
cmp dword [ebp - 0x48c], 0x10
mov eax, dword [ebp - 0x4a0]
mov dword [ebp - 0x4cc], ebx
jae 0x40bd10
lea eax, [ebp - 0x4a0]
push eax
lea esi, [ebp - 0x4cc]
lea eax, [ebp - 0x4c8]
call fcn.0040f23b
test al, al
je 0x40becd
mov eax, edi
cmp dword [ebp - 0x4cc], eax
jne 0x40becd
lea esi, [ebp - 0x4c8]
call fcn.0040f26d
test al, al
je 0x40becd
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x50c]
push ebx
push eax
call fcn.004329b0
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x528]
push str._c__
push eax
mov dword [ebp - 0x50c], esi
mov dword [ebp - 0x500], str.Open
call fcn.00405113
add esp, 0x18
push 0xffffffffffffffff
lea ecx, [ebp - 0x450]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 6
call fcn.004010f4
xor edi, edi
push edi
inc ebx
push ebx
lea esi, [ebp - 0x528]
mov byte [ebp - 4], 5
call fcn.0040117c
push 0x446e98
lea eax, [ebp - 0x450]
push eax
call fcn.00404bd2
cmp dword [ebp - 0x438], 8
mov eax, dword [ebp - 0x44c]
jae 0x40bdd5
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x4f8], eax
lea eax, [ebp - 0x434]
mov dword [ebp - 0x4fc], eax
lea eax, [ebp - 0x50c]
push eax
mov dword [ebp - 0x4f0], edi
mov dword [ebp - 0x508], 0x8040
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40be41
push edi
push ebx
lea ecx, [ebp - 0x4a4]
call fcn.00402f54
lea eax, [ebp - 0x4c8]
call fcn.0040f1de
push edi
push ebx
lea esi, [ebp - 0x46c]
call fcn.0040117c
push edi
push ebx
lea esi, [ebp - 0x450]
call fcn.0040117c
push edi
push ebx
jmp 0x40bf04
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x40
push dword [ebp - 0x4d4]
call esi
test eax, eax
je 0x40be08
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x40be08
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
push edi
lea ecx, [ebp - 0x4a4]
push ebx
je 0x40be10
call fcn.00402f54
lea eax, [ebp - 0x4c8]
call fcn.0040f1de
push edi
push ebx
lea esi, [ebp - 0x46c]
call fcn.0040117c
push edi
push ebx
lea esi, [ebp - 0x450]
call fcn.0040117c
push edi
push ebx
lea esi, [ebp - 0x488]
call fcn.0040117c
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4c4]
push eax
call fcn.0040eee9
mov al, bl
jmp 0x40bf21
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x4a4]
call fcn.00402f54
lea eax, [ebp - 0x4c8]
call fcn.0040f1de
push ebx
push edi
lea esi, [ebp - 0x46c]
call fcn.0040117c
push ebx
push edi
lea esi, [ebp - 0x450]
call fcn.0040117c
push ebx
push edi
lea esi, [ebp - 0x488]
call fcn.0040117c
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4c4]
push eax
call fcn.0040eee9
xor al, al
call fcn.004349db
ret