Function at 0x48bbe0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544e80
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x59e074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [eax + 4]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
test eax, eax
je 0x48bc34
mov eax, dword [eax]
test eax, eax
je 0x48bc34
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
test edi, edi
je 0x48c037
mov ecx, dword [0x5a38bc]
test ecx, ecx
je 0x48c037
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x48c037
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
xor esi, esi
movq qword [ebp - 0x30], xmm0
xor ebx, ebx
mov dword [ebp - 0x30], esi
xor edx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 2
xor ecx, ecx
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 8]
imul eax, dword [edi + 0xc]
mov dword [ebp - 0x48], ecx
shl eax, 2
mov dword [ebp - 0x4c], eax
cmp dword [edi + 0x10], ecx
jg 0x48bd33
mov edi, dword [ebp - 0x40]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x34]
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x48bcef
mov eax, dword [eax]
test eax, eax
je 0x48bcef
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x20]
mov edi, dword [edi + 0x18]
cmp edi, eax
je 0x48be8b
mov ecx, dword [edi]
mov eax, dword [ebp - 0x20]
mov dword [edi], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edi + 4]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x40]
mov edi, dword [ecx + 0x18]
jmp 0x48be8e
mov edx, dword [ebp - 0x44]
mov eax, dword [edi + 4]
movzx eax, word [eax + ecx*2]
lea esi, [eax + eax*4]
add esi, esi
mov dword [ebp - 0x50], esi
cmp edx, ebx
je 0x48bd5b
push ebx
push 4
call fcn.00404080
add esp, 8
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov dword [eax], esi
jmp 0x48bd71
lea eax, [ebp - 0x50]
push eax
push ebx
lea ecx, [ebp - 0x30]
call fcn.00415750
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x54]
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
mov eax, dword [ecx]
call dword [eax + 0x14]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push eax
mov dword [ebp - 0x38], 0
call fcn.0048b640
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x48be55
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x14]
mov eax, dword [edi]
push dword [ecx + 0xc]
push dword [ecx + 8]
mov eax, dword [eax + 0x14]
mov ecx, edi
call eax
test al, al
je 0x48be55
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
cmp dword [ebp - 0x18], eax
je 0x48bdfd
push eax
push 8
call fcn.00404080
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x48bdf2
lock inc dword [esi + 4]
mov dword [eax], edi
mov dword [eax + 4], esi
add dword [ebp - 0x1c], 8
jmp 0x48be0a
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0041e370
mov eax, dword [ebp - 0x4c]
add dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
test esi, esi
je 0x48be3a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x48be3a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x48be3a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x48], ecx
cmp ecx, dword [edi + 0x10]
jl 0x48bd30
mov esi, dword [ebp - 0x30]
jmp 0x48bcc7
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x48be81
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x48be81
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x48be81
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x30]
xor bl, bl
jmp 0x48bf7f
mov ecx, dword [ebp - 0x40]
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 3
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x48beb8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0x24]
mov dword [edi + 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x22c], 0
lea ecx, [edi + 0x22c]
je 0x48becc
call fcn.00422ae0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x18]
call fcn.0048d620
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48bef6
mov eax, dword [eax]
test eax, eax
je 0x48beef
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x24], 0
mov edi, dword [edx + 4]
mov dword [ebp - 0x24], edi
test edi, edi
je 0x48bf1a
mov eax, dword [edi]
test eax, eax
je 0x48bf1a
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp - 0x40]
mov byte [ebp - 4], 5
mov eax, dword [edx + 0x18]
lea edx, [ebp - 0x30]
lea ecx, [eax + 0xc]
cmp ecx, edx
mov edx, dword [ebp - 0x40]
je 0x48bf54
mov eax, dword [ecx]
mov dword [ecx], esi
mov esi, eax
mov dword [ebp - 0x30], esi
mov eax, dword [ecx + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 8]
mov dword [ecx + 8], ebx
mov ebx, eax
mov dword [ebp - 0x28], ebx
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x44], ebx
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 0x10]
je 0x48bf61
mov eax, dword [ecx]
mov dword [edx + 0xc], eax
mov byte [ebp - 4], 2
test edi, edi
je 0x48bf7d
mov eax, dword [edi]
test eax, eax
je 0x48bf76
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x24], 0
mov bl, 1
mov byte [ebp - 4], 1
test esi, esi
je 0x48bfd3
mov eax, dword [ebp - 0x44]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x48bfb4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48c07b
push ecx
push esi
call fcn.00509dd1
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x48c039
mov edx, dword [ebp - 0x1c]
push ecx
call fcn.004199b0
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x48c016
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48c080
push edx
push ecx
call fcn.00509dd1
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x48c039
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x48c05b
mov eax, dword [eax]
test eax, eax
je 0x48c054
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x34], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00509af6
mov esp, ebp
pop ebp
ret 4
call fcn.0050f487
call fcn.0050f487
int3