Function at 0x452380
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5615dc
mov eax, dword fs:[0]
push eax
sub esp, 0x150
push ebx
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x170]
xor ebx, ebx
push ebx
push edi
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
call fcn.00403150
add esp, 8
test eax, eax
je 0x4525f8
push ebx
lea ecx, [esp + 0x34]
mov dword [esi + 0x64], 1
call fcn.00446140
mov dword [esp + 0x168], ebx
call fcn.0050830c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x452401
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 1
call fcn.00451e90
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
mov byte [esp + 0x174], 2
call fcn.004070f0
add esp, 0xc
test eax, eax
jne 0x45248c
lea ecx, [esp + 0x18]
call fcn.00451f80
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x168], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452471
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x168], 0xffffffff
call fcn.00446270
xor eax, eax
jmp 0x45260d
call fcn.0050830c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4524a6
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x16c], 3
call fcn.0047c3f0
mov edx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.00405fa0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
call fcn.00405fa0
push ebx
push ebx
push ebx
push ebx
push 1
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.00446070
mov edi, eax
cmp edi, ebx
je 0x452536
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x74], ecx
push eax
mov ecx, esi
mov dword [esi + 0x78], edx
call fcn.00451410
mov ecx, dword [esp + 0x10]
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x5ed724], ebx
je 0x45256f
mov ecx, dword [esp + 0x18]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
imul edx, edx, 0x3e8
sub ecx, edx
imul ecx, ecx, 0x1ef8
add ecx, dword [eax*4 + 0x5b8fa8]
call fcn.004401f0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x168], 2
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
cmp edi, ebx
jne 0x4525a4
test edx, edx
jg 0x452441
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x452441
test edx, edx
jg 0x4525b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
call fcn.00451f80
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x168], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4525e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x168], 0xffffffff
call fcn.00446270
jmp 0x452608
push edi
mov ecx, esi
call fcn.00451410
test eax, eax
je 0x452485
mov eax, 1
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x15c
ret 4