Function at 0x450c50
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x56135c
mov eax, dword fs:[0]
push eax
sub esp, 0x150
push ebx
push esi
push edi
mov eax, dword [0x5b7b5c]
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.00403240
add esp, 8
test eax, eax
je 0x450ec8
push ebx
lea ecx, [esp + 0x34]
mov dword [esi + 0x64], 1
call fcn.004457a0
mov dword [esp + 0x168], ebx
call fcn.005089db
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x450cd1
push 0x80004005
call fcn.00401340
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.00450760
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
mov byte [esp + 0x174], 2
call fcn.00407210
add esp, 0xc
test eax, eax
jne 0x450d5c
lea ecx, [esp + 0x18]
call fcn.00450850
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 0x450d41
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.004458d0
xor eax, eax
jmp 0x450edd
call fcn.005089db
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x450d76
push 0x80004005
call fcn.00401340
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.0047b540
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.004060b0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
call fcn.004060b0
push ebx
push ebx
push ebx
push ebx
push 1
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.004456d0
mov edi, eax
cmp edi, ebx
je 0x450e06
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.0044fcc0
mov ecx, dword [esp + 0x10]
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x5ed794], ebx
je 0x450e3f
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, 0x1ee8
add ecx, dword [eax*4 + 0x5b9068]
call fcn.0043fa10
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 0x450e74
test edx, edx
jg 0x450d11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x450d11
test edx, edx
jg 0x450e82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
call fcn.00450850
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 0x450eb2
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.004458d0
jmp 0x450ed8
push edi
mov ecx, esi
call fcn.0044fcc0
test eax, eax
je 0x450d55
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