Function at 0x41ef70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b294
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0045ae51
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00422dc0
mov byte [ebp - 4], 2
push 0x515504
push 1
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00421a40
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x70]
push eax
call fcn.00421ad0
add esp, 8
mov byte [ebp - 0x4d], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00414390
movzx ecx, byte [ebp - 0x4d]
test ecx, ecx
je 0x41f00e
push 0x515508
lea ecx, [ebp - 0x14]
call fcn.004219c0
push 0x51550c
lea ecx, [ebp - 0x14]
call fcn.004219c0
push 0
lea ecx, [ebp - 0x14]
call fcn.00423270
push eax
lea ecx, [ebp - 0x2c]
call fcn.0045af00
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41f183
lea ecx, [ebp - 0x2c]
call fcn.0045ab26
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2c]
call fcn.0045adef
test eax, eax
jne 0x41f0fc
lea ecx, [ebp - 0x2c]
call fcn.00422cb0
test eax, eax
jne 0x41f0fc
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0045b1d4
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x78]
call fcn.00423270
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401c80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00414390
push 0x515510
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00408570
add esp, 8
movzx edx, al
test edx, edx
je 0x41f0c5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00401cc0
jmp 0x41f031
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0045b143
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.00423270
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x5c]
call fcn.00414390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00401cc0
jmp 0x41f17e
lea ecx, [ebp - 0x2c]
call fcn.0045adef
test eax, eax
je 0x41f10f
jmp 0x41f031
lea ecx, [ebp - 0x2c]
call fcn.00422cb0
test eax, eax
je 0x41f17e
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0045b143
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x14]
call fcn.00422de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.00414390
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00422dc0
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x68]
call fcn.0041ef70
lea ecx, [ebp - 0x14]
call fcn.00423270
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x41f031
lea ecx, [ebp + 8]
call fcn.00423270
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00414390
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0045ae77
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00414390
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret 4