Function at 0x45dae0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4ab3b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x848
mov eax, dword [0x4d1788]
push ebx
push ebp
push esi
mov dword [esp + 0x850], eax
push edi
mov esi, ecx
lea edi, [esi + 0x3c]
xor ebp, ebp
push edi
mov dword [esp + 0x864], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x34]
inc eax
push edi
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0x86c]
push ebx
lea ecx, [esp + 0x2c]
call fcn.00403030
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x44]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax - 0xc]
push edx
push ecx
push eax
mov byte [esp + 0x86c], 1
call fcn.0040e580
mov eax, dword [esp + 0x87c]
add esp, 0xc
cmp eax, 1
jne 0x45db8a
mov edi, dword [esi + 0x30]
add edi, 0xa0
mov dword [esp + 0x14], edi
jmp 0x45dba5
cmp eax, 2
jne 0x45db9d
mov eax, dword [esi + 0x30]
add eax, 0xd4
mov dword [esp + 0x14], eax
jmp 0x45dba1
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x14]
cmp edi, ebp
mov dword [esp + 0x18], ebp
je 0x45dc56
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.0045fc50
mov ebp, eax
test ebp, ebp
je 0x45dc49
mov ecx, ebp
call fcn.00439150
mov ecx, eax
call fcn.0045f280
test eax, eax
mov dword [esp + 0x10], eax
jbe 0x45dc56
push eax
call fcn.004955c1
mov edi, eax
add esp, 4
test edi, edi
je 0x45dc56
push 0
lea ecx, [esp + 0x14]
push ecx
push edi
push 0
mov ecx, ebp
call fcn.00461180
push 0
call fcn.00480539
mov ecx, esp
mov dword [esp + 0x20], esp
push str.text_html
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
call fcn.0045acb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x86c]
lea edx, [esp + 0x24]
push edx
push eax
push edi
push ecx
mov ecx, esi
call fcn.0045cb90
push edi
mov dword [esp + 0x1c], 1
call fcn.004955bc
add esp, 4
jmp 0x45dc56
cmp dword [edi + 0xc], 0x32
jb 0x45dc56
mov ecx, edi
call fcn.00439320
lea ebp, [ebx - 0x10]
push ebp
mov dword [esp + 0x20], ebp
call fcn.004015e0
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x10], edi
mov eax, dword [edi - 0xc]
test eax, eax
mov byte [esp + 0x860], 2
jl 0x45dcab
push 0x4b1bec
push edi
call fcn.0047e729
add esp, 8
test eax, eax
je 0x45dcab
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x45dcab
push 0
call fcn.00480e61
push eax
push str.trand_d
lea edx, [esp + 0x1c]
push edx
jmp 0x45dcbd
push 0
call fcn.00480e61
push eax
push str._trand_d
lea eax, [esp + 0x1c]
push eax
call fcn.004097c0
mov ebx, dword [esp + 0x20]
add esp, 0x10
push 0
push 0
push 0x400
lea ecx, [esp + 0x60]
push ecx
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push ebx
mov dword [esp + 0x38], ebx
call fcn.004015e0
add esp, 4
add eax, 0x10
push 0
mov dword [edi], eax
call fcn.0040fb90
add esp, 0x18
test eax, eax
jl 0x45de1f
lea ecx, [esp + 0x2c]
call fcn.00499720
push 0
push 0x80
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x86c], 3
call fcn.004999bc
test eax, eax
je 0x45de03
lea ecx, [esp + 0x2c]
call fcn.00499618
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.004955c1
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x45ddf6
push edi
push ebp
lea ecx, [esp + 0x34]
call fcn.00499433
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [edi + ebp], 0
jne 0x45dda8
push 0
call fcn.00480539
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.text_html
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
call fcn.0045acb0
mov edx, dword [esp + 0x86c]
lea ecx, [esp + 0x40]
push ecx
push edi
push ebp
push edx
mov ecx, esi
call fcn.0045cb90
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45dded
push str.Service_Temporarily_Unavailable
push ebp
call fcn.00480610
add esp, 8
test eax, eax
jne 0x45dded
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
call fcn.00440820
mov ebx, eax
test ebx, ebx
je 0x45dde9
push edi
mov ecx, ebx
call fcn.00441f30
push edi
push ebp
push 0
mov ecx, ebx
call fcn.00461330
mov ebx, dword [esp + 0x20]
push ebp
call fcn.004955bc
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.004996be
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x860], 2
call fcn.0049975f
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x45de4c
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Not_Found_5
call fcn.0045acb0
mov edx, dword [esp + 0x86c]
push 0x194
push edx
mov ecx, esi
call fcn.0045bad0
lea edi, [esi + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x34]
dec eax
push edi
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x860], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45de83
mov ecx, dword [ebx]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x860], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45dea9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x860], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45decc
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x858]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x854]
call fcn.0047e6cd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x854
ret 0xc