Function at 0x45b7a0
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b6e8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4b3014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, cl
mov dword [ebp - 4], 0
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x45b7e9
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0xb
push str._echo_off_r_n
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042e5e0
push 0x1a
push str.IF_NOT_EXIST__1_GOTO_END_r_n
lea ecx, [ebp - 0x14]
call fcn.0042e5e0
push 0xc
push str.SET__a_i0_r_n
lea ecx, [ebp - 0x14]
call fcn.0042e5e0
push 9
push str.:REPEAT_r_n
lea ecx, [ebp - 0x14]
call fcn.0042e5e0
push 0x15
push str.IF__i_10_GOTO_END_r_n
lea ecx, [ebp - 0x14]
call fcn.0042e5e0
lea ecx, [ebp - 0x14]
test bl, bl
je 0x45b853
push 0x10
push str.RMDIR__S__Q__1_r_n
jmp 0x45b85a
push 8
push str.DEL__1_r_n
call fcn.0042e5e0
push 0x1a
push str.IF_NOT_EXIST__1_GOTO_END_r_n
lea ecx, [ebp - 0x14]
call fcn.0042e5e0
push 0x10
push str.SET__a_i_i_1_r_n
lea ecx, [ebp - 0x14]
call fcn.0042e5e0
push 0xd
push str.GOTO_REPEAT_r_n
lea ecx, [ebp - 0x14]
call fcn.0042e5e0
push 6
push str.:END_r_n
lea ecx, [ebp - 0x14]
call fcn.0042e5e0
push 8
push str.DEL__0_r_n
lea ecx, [ebp - 0x14]
call fcn.0042e5e0
mov edi, dword [ebp - 0x14]
push edi
push dword [ebp + 8]
push str.Tools::CleanUpWithBatFile
push str._s_command___s__batch___s_
push 0
push 5
call fcn.00458400
add esp, 0x18
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x45b8dc
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x45b900
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push str.temp
lea esi, [ebp - 0x24]
call fcn.0042d660
mov ecx, esi
call fcn.00459e40
add esp, 4
lea edx, [ebp - 0x1c]
mov ecx, esi
call fcn.0045c9a0
mov esi, dword [ebp - 0x1c]
mov ecx, dword [esi - 0xc]
lea eax, [ecx - 1]
test eax, eax
js 0x45bb86
cmp eax, ecx
jg 0x45bb86
cmp word [esi + eax*2], 0x5c
je 0x45b965
push 1
push 0x49a374
lea ecx, [ebp - 0x1c]
call fcn.0042e5e0
mov esi, dword [ebp - 0x1c]
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x45b97a
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 4
call fcn.00469e0e
push eax
lea eax, [ebp - 0x20]
push 0x49e418
push eax
call fcn.0042fc90
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x68]
call fcn.0042cf70
push str..bat
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.0042ce90
add esp, 0x14
mov byte [ebp - 4], 7
or ebx, 0xffffffff
mov edx, dword [ebp - 0x68]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b9ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
push str.Tools::CleanUpWithBatFile
push str._s_strBatFilePath___s_
push 0
push 5
call fcn.00458400
push str.a__ccsUTF_8
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
call fcn.004701b6
mov eax, dword [ebp - 0x28]
add esp, 0x20
test eax, eax
je 0x45ba41
push edi
push 0x49ba94
push eax
call fcn.00458340
push dword [ebp - 0x28]
call fcn.0046f267
push dword [ebp - 0x28]
call fcn.0046f336
add esp, 0x14
push 0x3c
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.00463d60
mov eax, dword [ebp - 0x18]
mov edx, 1
mov dword [ebp - 0x64], 0x3c
add esp, 0xc
mov dword [ebp - 0x58], str.open
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x45ba7e
push 0
lea ecx, [ebp - 0x18]
call fcn.0042eda0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
mov edx, 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x60], 0x440
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x45baae
push 0
lea ecx, [ebp + 8]
call fcn.0042eda0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bad9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45baf7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45bb12
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bb30
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45bb4b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45bb6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f48f
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0041ffc0
int3