Function at 0x41f9f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x4b0780]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
mov esi, dword [0x4b60cc]
lea ecx, [esp + 0x18]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 1
mov dword [esp + 0x18], ebx
push 0x414430
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.0041abf0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0xc]
mov esi, dword [ecx]
lea eax, [esp + 0x1c]
push eax
call fcn.00419ca0
cmp dword [eax], esi
setne al
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0x13], al
jb 0x41fa6e
push dword [esp + 0x1c]
call fcn.0048cf69
mov al, byte [esp + 0x17]
add esp, 4
mov esi, dword [esp + 0x14]
test al, al
jne 0x41fa8a
push 0x414428
mov ecx, esi
call fcn.004183f0
test al, al
je 0x41fbe3
cmp dword [0x4b60f8], ebx
je 0x41fa9f
cmp byte [0x4b7268], bl
jne 0x41fd17
int3
mov eax, dword [0x4b60dc]
push 0x10
mov dword [0x4b60f8], eax
call fcn.0048cef3
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x41fb35
push 7
push 0x414428
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0041abf0
push 1
push 0x414430
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.0041abf0
push ecx
lea eax, [esp + 0x38]
mov ecx, esi
push eax
lea eax, [esp + 0x6c]
mov ebx, 0x1e
push eax
call fcn.00418480
push eax
lea eax, [esp + 0x24]
mov ecx, esi
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00418480
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00430a80
mov dword [0x4b60dc], eax
jmp 0x41fb3b
mov dword [0x4b60dc], ebx
test bl, 0x10
je 0x41fb6b
and ebx, 0xffffffef
cmp dword [esp + 0x60], 0x10
jb 0x41fb56
push dword [esp + 0x4c]
call fcn.0048cf69
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
test bl, 8
je 0x41fb9b
and ebx, 0xfffffff7
cmp dword [esp + 0x78], 0x10
jb 0x41fb86
push dword [esp + 0x64]
call fcn.0048cf69
add esp, 4
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
test bl, 4
je 0x41fbcb
and ebx, 0xfffffffb
cmp dword [esp + 0x30], 0x10
jb 0x41fbb6
push dword [esp + 0x1c]
call fcn.0048cf69
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
test bl, 2
je 0x41fbe3
cmp dword [esp + 0x48], 0x10
jb 0x41fbe3
push dword [esp + 0x34]
call fcn.0048cf69
add esp, 4
mov eax, dword [edi]
mov dword [0x4b18f0], eax
test al, 1
jne 0x41fc02
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00490c9e
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
call fcn.0041f7c0
cmp dword [0x4b60f0], 0
jne 0x41fc26
push 0xffffffffffffffff
push dword [0x4b60e8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x41fc32
push dword [0x4b60e4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4b60e0]
test eax, eax
je 0x41fc4c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4b60e0], 0
mov edx, dword [0x4b60d4]
test edx, edx
jne 0x41fc83
push 0x18
call fcn.0048cef3
mov edx, eax
add esp, 4
test edx, edx
je 0x41fc7b
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
jmp 0x41fc7d
xor edx, edx
mov dword [0x4b60d4], edx
mov esi, dword [edi + 4]
cmp word [esi], 0
jne 0x41fc90
xor ecx, ecx
jmp 0x41fca4
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fc95
sub ecx, ebx
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.0041aec0
cmp dword [edi + 0xc], 0
jne 0x41fcc7
mov eax, dword [0x4b60d4]
cmp dword [eax + 0x14], 8
jb 0x41fcc0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0041f910
cmp dword [0x4b60f0], 0
mov bl, al
jne 0x41fcf7
push dword [0x4b60e8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00490c9e
mov esp, ebp
pop ebp
ret
push dword [0x4b60e4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x7c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00490c9e
mov esp, ebp
pop ebp
ret
push 1
call fcn.0048e41d
int3