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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2468
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x518f10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00465b10
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 0x469d03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004b564a
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
push str.delcameyoapp._d.bat
push ecx
call fcn.00466ad0
lea edx, [ebp - 0x14]
add esp, 0xc
push edx
call fcn.004661a0
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.00454190
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.004252a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004674a0
add esp, 8
test eax, eax
je 0x469eb7
push 0x40
lea edx, [ebp - 0x74]
push 0
push edx
call fcn.004b25f0
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.00466ad0
add esp, 0x18
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], ebx
jle 0x469ddf
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00422574
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.004b1c9b
add esp, 8
test eax, eax
jl 0x469ead
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x469ead
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 0x469e50
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 0x469e73
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 0x469e99
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 0x469eda
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 0x469f00
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