Function at 0x411f40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e465
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5f4e20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp byte [esi + 0x20], bl
jne 0x4121e9
push dword [0x5fa468]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20]
mov ecx, dword [esi]
push eax
call fcn.00409420
push dword [eax]
lea eax, [ebp - 0x1c]
push 0xaf
push eax
mov dword [ebp - 4], ebx
call fcn.0040e300
add esp, 0xc
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x411fce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
call fcn.00406ee0
mov ecx, eax
call fcn.00406f40
mov ecx, dword [esi]
mov al, byte [ecx + 0x20]
test al, al
je 0x41202e
lea eax, [ebp - 0x14]
push eax
call fcn.00409420
push dword [eax]
mov byte [ebp - 4], 3
push str._CStepRunning::RunModule__Reboot_required_for__s
push 3
call fcn.0055b030
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412025
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004096d0
mov byte [eax + 0x4e], 1
mov ecx, dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.00409420
push dword [eax]
mov byte [ebp - 4], 4
push str._CStepRunning::RunModule__Running__s
push 2
call fcn.0055b030
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41206e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x1c
call fcn.004148ab
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4120dd
push 0x588594
lea ecx, [ebp - 0x14]
call fcn.00401030
mov ecx, dword [esi]
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x10], 1
call fcn.00408f80
mov esi, eax
mov edx, dword [ebp + 8]
mov ebx, 3
mov edx, dword [edx]
mov dword [ebp - 4], 7
mov cl, byte [edx + 0x22]
mov al, byte [edx + 0x21]
mov byte [ebp + 8], cl
push dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0x24], al
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x10], ebx
call fcn.0040d420
jmp 0x4120df
xor eax, eax
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 9
call fcn.00411590
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xa
mov dword [eax + 0x18], ecx
mov esi, dword [eax + 0x1c]
mov dword [eax + 0x1c], edx
test esi, esi
je 0x41213c
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x41213c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x41213c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 9
test esi, esi
je 0x41216b
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x41216b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x41216b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov dword [ebp - 4], 8
test bl, 2
je 0x412199
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412199
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 2
test bl, 1
je 0x4121c1
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4121c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
add edx, 0xfffffff0
mov byte [esi + 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4121e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x18]
call fcn.0040d790
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4