Function at 0x41f6b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x4b1780]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
mov esi, dword [0x4b7050]
lea ecx, [esp + 0xf8]
push edi
mov edi, dword [ebp + 8]
push 1
mov dword [esp + 0x14], 0
push 0x414160
mov dword [esp + 0x18], esi
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
call fcn.0041a8b0
mov esi, dword [esi + 0xc]
lea eax, [esp + 0xfc]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0xec], 0xf
mov ebx, 1
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
call fcn.00419c30
lea ecx, [esp + 0xcc]
call fcn.0041c180
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [ecx + 0xc]
call fcn.00419960
cmp dword [eax], esi
setne al
cmp dword [esp + 0xe0], 0x10
mov byte [esp + 0xf], al
jb 0x41f79c
push dword [esp + 0xcc]
call fcn.0048bc47
mov al, byte [esp + 0x13]
add esp, 4
test al, al
jne 0x41f86a
push 7
push 0x414158
lea ecx, [esp + 0xec]
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], al
call fcn.0041a8b0
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xe4]
push 0xffffffffffffffff
push 0
push eax
mov esi, dword [esi + 0xc]
lea ecx, [esp + 0xd8]
mov ebx, 3
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
call fcn.00419c30
lea ecx, [esp + 0xcc]
call fcn.0041c180
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [ecx + 0xc]
call fcn.00419960
cmp dword [eax], esi
setne al
cmp dword [esp + 0xe0], 0x10
mov byte [esp + 0xf], al
jb 0x41f861
push dword [esp + 0xcc]
call fcn.0048bc47
mov al, byte [esp + 0x13]
add esp, 4
mov byte [esp + 0xf], 0
test al, al
je 0x41f86f
mov byte [esp + 0xf], 1
test bl, 2
je 0x41f8ae
and ebx, 0xfffffffd
cmp dword [esp + 0xf8], 0x10
jb 0x41f890
push dword [esp + 0xe4]
call fcn.0048bc47
add esp, 4
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], 0
mov byte [esp + 0xe4], 0
test bl, 1
je 0x41f8cf
and ebx, 0xfffffffe
cmp dword [esp + 0x110], 0x10
jb 0x41f8cf
push dword [esp + 0xfc]
call fcn.0048bc47
add esp, 4
cmp byte [esp + 0xf], 0
je 0x41fab0
cmp dword [0x4b7078], 0
je 0x41f8f1
cmp byte [0x4b81d8], 0
jne 0x41fbed
int3
test bl, 4
je 0x41f902
lea ecx, [esp + 0x18]
and ebx, 0xfffffffb
call fcn.0041fcf0
mov eax, dword [0x4b7068]
push 0x10
mov dword [0x4b7078], eax
call fcn.0048bbd1
mov esi, eax
add esp, 4
test esi, esi
je 0x41f9cb
push 7
push 0x414158
lea ecx, [esp + 0x104]
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
call fcn.0041a8b0
push 1
push 0x414160
lea ecx, [esp + 0xec]
mov dword [esp + 0x100], 0xf
or ebx, 8
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
call fcn.0041a8b0
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x11c]
or ebx, 0x70
push eax
call fcn.00418140
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.00418140
push eax
mov ecx, esi
call fcn.00430540
mov dword [0x4b7068], eax
jmp 0x41f9d5
mov dword [0x4b7068], 0
test bl, 0x40
je 0x41fa14
and ebx, 0xffffffbf
cmp dword [esp + 0xe0], 0x10
jb 0x41f9f6
push dword [esp + 0xcc]
call fcn.0048bc47
add esp, 4
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
test bl, 0x20
je 0x41fa53
and ebx, 0xffffffdf
cmp dword [esp + 0x128], 0x10
jb 0x41fa35
push dword [esp + 0x114]
call fcn.0048bc47
add esp, 4
mov dword [esp + 0x128], 0xf
mov dword [esp + 0x124], 0
mov byte [esp + 0x114], 0
test bl, 0x10
je 0x41fa92
and ebx, 0xffffffef
cmp dword [esp + 0xf8], 0x10
jb 0x41fa74
push dword [esp + 0xe4]
call fcn.0048bc47
add esp, 4
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], 0
mov byte [esp + 0xe4], 0
test bl, 8
je 0x41fab0
cmp dword [esp + 0x110], 0x10
jb 0x41fab0
push dword [esp + 0xfc]
call fcn.0048bc47
add esp, 4
mov eax, dword [edi]
mov dword [0x4b28f0], eax
test al, 1
jne 0x41fad2
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0048f991
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
call fcn.0041f480
cmp dword [0x4b7060], 0
jne 0x41faf6
push 0xffffffffffffffff
push dword [0x4b7088]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x41fb02
push dword [0x4b7070]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4b706c]
test eax, eax
je 0x41fb1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4b706c], 0
mov edx, dword [0x4b705c]
test edx, edx
jne 0x41fb53
push 0x18
call fcn.0048bbd1
mov edx, eax
add esp, 4
test edx, edx
je 0x41fb4b
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
jmp 0x41fb4d
xor edx, edx
mov dword [0x4b705c], edx
mov esi, dword [edi + 4]
cmp word [esi], 0
jne 0x41fb60
xor ecx, ecx
jmp 0x41fb74
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fb65
sub ecx, ebx
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.0041ab80
cmp dword [edi + 0xc], 0
jne 0x41fb97
mov eax, dword [0x4b705c]
cmp dword [eax + 0x14], 8
jb 0x41fb90
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0041f5d0
cmp dword [0x4b7060], 0
mov bl, al
jne 0x41fbca
push dword [0x4b7088]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0048f991
mov esp, ebp
pop ebp
ret
push dword [0x4b7070]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x12c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048f991
mov esp, ebp
pop ebp
ret
push 1
call fcn.0048d0bd
int3