Function at 0x41f850
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 0x50]
mov eax, 0x53b2c0
call fcn.00524684
mov dword [ebx + 0x1c], 3
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.0052f058
inc dword [ebx + 0x1c]
lea edx, [ebp - 8]
mov word [ebx + 0x10], 8
lea eax, [ebp - 8]
call fcn.0052f058
inc dword [ebx + 0x1c]
lea edx, [ebp - 0xc]
lea eax, [ebp - 0xc]
call fcn.0052f058
inc dword [ebx + 0x1c]
xor edx, edx
mov word [ebx + 0x10], 0x14
mov dword [ebp - 0x10], edx
xor ecx, ecx
inc dword [ebx + 0x1c]
xor eax, eax
mov word [ebx + 0x10], 8
mov byte [ebp - 0x51], 1
mov word [ebx + 0x10], 0x20
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x18]
inc dword [ebx + 0x1c]
mov word [ebx + 0x10], 8
mov word [ebx + 0x10], 0x2c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x51]
inc dword [ebx + 0x1c]
call fcn.0041f770
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.0052f364
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0052f334
mov word [ebx + 0x10], 0x38
mov edx, 0x53ae29
lea eax, [ebp - 0x1c]
call fcn.0052f020
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.0052f38c
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x14]
call fcn.0052f364
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0052f334
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0052f334
cmp byte [ebp - 0x51], 0
jne 0x41fa25
mov word [ebx + 0x10], 0x44
xor ecx, ecx
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x24]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.0052f38c
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x10]
call fcn.0052f364
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0052f334
cmp dword [ebp - 0x10], 0
je 0x41f9a7
mov ecx, dword [ebp - 0x10]
jmp 0x41f9ac
mov ecx, 0x53ae2e
push ecx
call sub.KERNEL32.DLL_DeleteFileA
mov eax, dword [ebp - 8]
push eax
mov edx, 0x53ae2f
lea eax, [ebp - 0x2c]
call fcn.0052f020
inc dword [ebx + 0x1c]
mov edx, dword [eax]
lea eax, [ebp - 0x28]
push edx
push 1
mov word [ebx + 0x10], 0x50
lea edx, [ebp - 0x10]
call fcn.0052fddc
inc dword [ebx + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0041eec8
xor ecx, ecx
mov edx, 2
mov cl, al
cmp ecx, 1
sbb eax, eax
neg eax
mov byte [ebp - 0x51], al
lea eax, [ebp - 0x2c]
dec dword [ebx + 0x1c]
call fcn.0052f334
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0052fe18
call sub.USER32.DLL_GetDesktopWindow
push eax
call sub.USER32.DLL_UpdateWindow
xor eax, eax
mov edx, 2
mov al, byte [ebp - 0x51]
cmp eax, 1
sbb eax, eax
neg eax
push eax
lea eax, [ebp - 0x14]
dec dword [ebx + 0x1c]
call fcn.0052f334
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0052f334
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0052f334
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0052f334
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0052f334
pop eax
mov edx, dword [ebx]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret