Function at 0x46dcc0
Capabilities:
Create process on windows
Self delete
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9328
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x522f10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00469b30
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add esp, 4
push eax
push str.ExeFileName
call esi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46dd23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004bc4cb
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
push str.delcameyoapp._d.bat
push ecx
call fcn.0046aaf0
lea edx, [ebp - 0x14]
add esp, 0xc
push edx
call fcn.0046a1c0
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
push eax
push str.MyBatFileName
call esi
lea ecx, [ebp - 0x18]
push ecx
mov ecx, str.set_attemptX__n:Repeat__ndel___ExeFileName____nif_exist___ExeFileName___goto_Retry__ngoto_Exit__n:Retry__nif__attempt___XXXXX_goto_Exit__ntimeout_1__nset_attempt_attempt_X__ngoto_Repeat__n:Exit__ndel___MyBatFileName____n
call fcn.00457f80
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
mov edi, dword [eax - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.00425484
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0046b4c0
add esp, 8
test eax, eax
je 0x46ded7
push 0x40
lea edx, [ebp - 0x74]
push 0
push edx
call fcn.004b9350
mov ecx, dword [ebp - 0x14]
push ecx
xor eax, eax
lea edx, [ebp - 0x10]
push str._cmd.exe___c___s_
push edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x78], 0x44
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x48], ax
call fcn.0046aaf0
add esp, 0x18
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], ebx
jle 0x46ddff
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042257b
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x78]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004b89fb
add esp, 8
test eax, eax
jl 0x46decd
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x46decd
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46de70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46de93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46deb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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 0x80070057
call fcn.00422000
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46defa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46df20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret