Function at 0x412d30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476440
mov eax, dword fs:[0]
push eax
sub esp, 0x24
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 ebx, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.stemp.bat
call fcn.0045e4b0
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48d2ac
call fcn.0045e4b0
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
mov edx, 0x81
lea ecx, [ebp - 0x1c]
call fcn.00401380
add esp, 0x30
mov byte [ebp - 4], 3
push 0x48d1b0
lea ecx, [ebp - 0x24]
call fcn.0045fcf0
mov byte [ebp - 4], 4
mov byte [ebp - 0x11], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x1c]
call fcn.0045f3b0
add esp, 4
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov dl, byte [ebp - 0x11]
lea ecx, [ebp - 0x18]
call fcn.004642f0
add esp, 4
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412e10
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push ecx
push 0x48f7dc
lea ecx, [ebp - 0x18]
call fcn.0045f840
push ecx
mov dword [ebp - 0x2c], esp
test eax, eax
jg 0x412ef0
mov dword [ebp - 0x28], esp
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [edi - 4]
cmp dword [eax], 0
jl 0x412e4f
cmp ecx, dword [edi - 0x10]
jne 0x412e4f
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x412e79
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x413124
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov edx, dword [edi - 0xc]
inc edx
push edx
push edi
lea ecx, [ebx + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov byte [ebp - 4], 9
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.redCrossOnWiFi_KB_11280__failure_in_wifi.bat
call fcn.0045fcf0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 7
or ecx, 0xffffffff
call fcn.00462c10
add esp, 4
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x48d10a
call fcn.0045fcf0
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Error_occurred_during_code_execution
call fcn.0045fcf0
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Failure
call fcn.0045fcf0
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x20]
jmp 0x412f2e
mov ecx, esp
push 0x48d10a
call fcn.0045fcf0
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Necessary_changes_have_been_done.
call fcn.0045fcf0
mov byte [ebp - 4], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48d168
call fcn.0045fcf0
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 7
mov ecx, ebx
call fcn.00463120
add esp, 0xc
push 0x48d1b0
lea ecx, [ebp - 0x24]
call fcn.0045fcf0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
call fcn.0045f3b0
add esp, 4
mov byte [ebp - 4], 0x13
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412f87
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412fa9
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412fcb
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x412feb
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004031e0
int3