Function at 0x42f310
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c8f0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4bc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
call fcn.00403ac0
mov ecx, eax
test ecx, ecx
je 0x42fb07
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.stemp.ps1
call fcn.0045e4b0
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x48d2ac
call fcn.0045e4b0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
mov edx, 0x8b
lea ecx, [ebp - 0x28]
call fcn.00401380
add esp, 0x30
mov byte [ebp - 4], 5
push 0x48d1d4
lea ecx, [ebp - 0x30]
call fcn.0045fcf0
mov byte [ebp - 4], 6
push str.powershell__ExecutionPolicy_ByPass__File
lea ecx, [ebp - 0x2c]
call fcn.0045fcf0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
call fcn.0045f3b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
push ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.0045f3b0
add esp, 8
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f412
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f434
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f456
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edi, dword [ebp - 0x18]
mov ebx, edi
mov dword [ebp - 0x40], ebx
xor esi, esi
mov dword [ebp - 0x34], esi
mov ecx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswspace]
movzx eax, word [ebx]
test ax, ax
je 0x42f49f
push eax
call ecx
add esp, 4
test eax, eax
je 0x42f48f
test esi, esi
jne 0x42f494
mov esi, ebx
mov dword [ebp - 0x34], esi
add ebx, 2
mov dword [ebp - 0x40], ebx
mov edi, dword [ebp - 0x18]
jmp 0x42f463
xor esi, esi
mov dword [ebp - 0x34], esi
add ebx, 2
mov dword [ebp - 0x40], ebx
mov edi, dword [ebp - 0x18]
jmp 0x42f463
test esi, esi
je 0x42f4ec
sub esi, edi
sar esi, 1
js 0x42fb11
mov ebx, 1
mov ecx, ebx
sub ecx, dword [edi - 4]
mov eax, dword [edi - 8]
sub eax, esi
or eax, ecx
jge 0x42f4cc
push esi
lea ecx, [ebp - 0x18]
call fcn.004032e0
mov edi, dword [ebp - 0x18]
cmp esi, dword [edi - 8]
jg 0x42fb11
mov dword [edi - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov word [eax + esi*2], cx
mov edi, dword [ebp - 0x18]
mov ecx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswspace]
jmp 0x42f4f1
mov ebx, 1
lea esi, [ebp - 0x18]
mov dword [ebp - 0x38], edi
movzx eax, word [edi]
push eax
call ecx
add esp, 4
test eax, eax
je 0x42f512
add edi, 2
mov dword [ebp - 0x38], edi
mov ecx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswspace]
jmp 0x42f4f7
mov eax, dword [ebp - 0x18]
cmp edi, eax
je 0x42f589
sub edi, eax
sar edi, 1
mov ecx, dword [eax - 0xc]
test ecx, ecx
js 0x42fb1b
sub ebx, dword [eax - 4]
mov edx, dword [eax - 8]
sub edx, ecx
or edx, ebx
jge 0x42f53f
push ecx
mov ecx, esi
call fcn.004032e0
mov eax, dword [ebp - 0x18]
lea esi, [eax + edi*2]
mov dword [ebp - 0x38], esi
mov edx, dword [eax - 0xc]
mov ebx, edx
sub ebx, edi
lea ecx, [ebx*2 + 2]
push ecx
push esi
lea ecx, [edx*2 + 2]
push ecx
push eax
call fcn.00460b50
add esp, 0x10
test ebx, ebx
js 0x42fb11
mov eax, dword [ebp - 0x18]
cmp ebx, dword [eax - 8]
jg 0x42fb11
mov dword [eax - 0xc], ebx
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov word [eax + ebx*2], cx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x11], 1
push ecx
mov dword [ebp - 0x44], esp
mov ebx, esp
mov dword [ebp - 0x48], ebx
lea esi, [eax - 0x10]
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi + 0xc]
cmp dword [eax], 0
jl 0x42f5b5
cmp ecx, dword [esi]
jne 0x42f5b5
mov edi, esi
lock inc dword [eax]
jmp 0x42f5e2
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edi, eax
test edi, edi
je 0x42fb25
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov edx, dword [esi + 4]
inc edx
push edx
lea eax, [esi + 0x10]
push eax
lea ecx, [edi + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xe
mov dl, byte [ebp - 0x11]
lea ecx, [ebp - 0x1c]
call fcn.004642f0
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x48], esp
mov ebx, esp
mov dword [ebp - 0x44], ebx
mov esi, dword [ebp - 0x1c]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi - 4]
cmp dword [eax], 0
jl 0x42f62c
cmp ecx, dword [esi - 0x10]
jne 0x42f62c
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x42f656
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x42fb2a
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
lea ecx, [edi + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.calculatorIsNotWorkingInWindows10
call fcn.0045fcf0
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x12
or ecx, 0xffffffff
call fcn.00462c10
add esp, 4
push str.error
lea ecx, [ebp - 0x1c]
call fcn.0045f840
test eax, eax
jns 0x42f70e
push ecx
push 0x48dcac
lea ecx, [ebp - 0x1c]
call fcn.0045f840
test eax, eax
jns 0x42f70e
push ecx
push str.denied
lea ecx, [ebp - 0x1c]
call fcn.0045f840
test eax, eax
jns 0x42f70e
push ecx
push str.invalid
lea ecx, [ebp - 0x1c]
call fcn.0045f840
test eax, eax
jns 0x42f70e
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x48d10a
call fcn.0045fcf0
mov byte [ebp - 4], 0x1d
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.Necessary_changes_have_been_done.
call fcn.0045fcf0
mov byte [ebp - 4], 0x1e
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x48d168
call fcn.0045fcf0
mov byte [ebp - 4], 0x1f
jmp 0x42f826
push str.Error_occurred_during_code_execution
lea ecx, [ebp - 0x20]
call fcn.0045fc60
push ecx
mov dword [ebp - 0x48], esp
mov ebx, esp
mov dword [ebp - 0x44], ebx
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi - 4]
cmp dword [eax], 0
jl 0x42f746
cmp ecx, dword [esi - 0x10]
jne 0x42f746
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x42f770
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x42fb2f
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
lea ecx, [edi + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x17
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.calculatorIsNotWorkingInWindows10
call fcn.0045fcf0
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x12
or ecx, 0xffffffff
call fcn.00462c10
add esp, 4
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x48d10a
call fcn.0045fcf0
mov byte [ebp - 4], 0x19
push ecx
mov dword [ebp - 0x44], esp
mov ebx, esp
mov dword [ebp - 0x3c], ebx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi - 4]
cmp dword [eax], 0
jl 0x42f7db
cmp ecx, dword [esi - 0x10]
jne 0x42f7db
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x42f805
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x42fb34
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
lea ecx, [edi + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x1b
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.Failure
call fcn.0045fcf0
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x24]
call fcn.00463120
add esp, 0xc
push 0x48d1d4
lea ecx, [ebp - 0x30]
call fcn.0045fcf0
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x3c]
call fcn.0045f3b0
add esp, 4
mov byte [ebp - 4], 0x21
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x22
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f889
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x23
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f8ab
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x24
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f8cd
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x25
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f8ef
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x26
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f911
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 1
jmp 0x42f9fe
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42fa1d
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
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 0x80004005
call fcn.00403880
push 0x80070057
call fcn.00403880
push 0x80070057
call fcn.00403880
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
int3