Function at 0x41ad50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c49b0
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4f4214]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
lea edi, [esi + 0x64c]
push edi
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x23c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ebx, [ebp - 0x23c]
lea eax, [ebp - 0x220]
call fcn.00420030
mov eax, dword [ebp - 0x220]
cmp eax, dword [0x4f9f3c]
je 0x41adcf
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.0041fd70
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0xcc]
push 0
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc4]
push 0
mov ecx, esi
call eax
mov eax, dword [edi + 0x244]
test eax, eax
je 0x41ae20
push 1
push eax
call fcn.0048cf50
add esp, 8
push 5
mov dword [edi + 0x244], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x230]
mov dword [edi + 0x250], 0x18
mov edx, dword [ecx + 0x280]
mov ecx, dword [edx + 0x2f0]
mov edx, edi
call fcn.00412b60
mov ecx, edi
call fcn.00402310
lea eax, [edi + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x21a]
push edx
mov word [ebp - 0x21c], cx
call fcn.0049f910
add esp, 0xc
lea eax, [edi + 0xc]
push eax
lea eax, [ebp - 0x224]
push eax
mov ebx, 0x4d694c
call fcn.00415430
mov dword [ebp - 4], 0
lea ecx, [edi + 4]
push ecx
lea ecx, [ebp - 0x22c]
push ecx
mov ebx, eax
call fcn.0041fb40
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x228]
push edx
mov ebx, str..ipa.cdl
call fcn.00415430
add esp, 0x18
mov ebx, eax
mov byte [ebp - 4], 2
lea esi, [ebp - 0x220]
call fcn.00434d50
mov byte [ebp - 4], 3
mov ebx, dword [ebx]
mov eax, dword [eax]
push ebx
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, eax
call fcn.004152e0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41af18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41af3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41af64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41af8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov ebx, 0x4d694c
call fcn.00415430
mov byte [ebp - 4], 0xd
lea ecx, [edi + 4]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, eax
call fcn.0041fb40
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x22c]
push eax
mov ebx, str..ipa.cdlog
call fcn.00415430
add esp, 0x18
mov ebx, eax
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x224]
call fcn.00434d50
mov byte [ebp - 4], 0x10
mov ebx, dword [ebx]
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x238]
push edx
mov ecx, eax
call fcn.004152e0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b02a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b050
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b076
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b09c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x234]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
call esi
mov edx, dword [ebp - 0x238]
push edx
call esi
mov esi, dword [ebp - 0x230]
push 1
lea edx, [edi + 0x14]
mov ecx, esi
call fcn.0041efd0
push edi
call fcn.00419b00
mov ecx, dword [esi + 0x284]
mov eax, dword [ecx + 0x4a0]
mov edx, dword [ebp - 0x23c]
mov eax, dword [eax + 0x18]
add ecx, 0x4a0
push edx
call eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b110
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b139
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049c72a
mov esp, ebp
pop ebp
ret 4