Function at 0x42e3ec
Capabilities:
Delete file

Disassembly:
sub esp, 0x24
test dword [ebx + 0x1690], 0xfffffff8
push ebp
push esi
push edi
je 0x42e417
mov eax, dword [ebx + 0x186c]
test eax, eax
je 0x42e417
push dword [ebx + 0x188c]
push 0
push 0
call eax
add esp, 0xc
cmp dword [esp + 0x34], 0
jne 0x42e47f
push 0x47d46c
push 8
push dword [0x48d1c4]
call fcn.00454eb0
add esp, 0xc
test dword [ebx + 0x1690], 0xfffffff8
jne 0x42e450
lea esi, [ebx + 0x1698]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebp, [ebx + 0x1640]
push ebp
call esi
lea eax, [ebx + 0x610]
push eax
mov dword [ebx + 0x630], 2
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x42e4f0
push 0x47c9dc
push 8
push dword [0x48d1c4]
call fcn.00454eb0
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 0xc
lea ebp, [ebx + 0x1640]
push ebp
call esi
lea eax, [ebx + 0x610]
push eax
mov dword [ebx + 0x630], 4
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test dword [ebx + 0x1690], 0xfffffff8
jne 0x42e4f0
lea edi, [ebx + 0x1698]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi], 0xffffffff
lea ecx, [ebx + 0x1674]
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edi, [ebx + 0x1694]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
test eax, eax
je 0x42e513
push eax
call fcn.0042e9a6
push dword [esp + 0x10]
call fcn.0043bc7d
and dword [edi], 0
pop ecx
push ebp
call esi
lea edi, [ebx + 0x600]
cmp word [edi], 0
jne 0x42e53f
or dword [ebx + 0x94], 0xffffffff
push ebp
call esi
lea esi, [ebx + 0x610]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebp
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x42e567
mov esi, edi
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebx + 0x610]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00424ceb
add esp, 0x20
mov dword [ebx + 0x94], eax
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x34]
lea eax, [ebx + 0x10]
push eax
push ebx
mov dword [ebx + 0x84], esi
call fcn.00427f92
mov eax, dword [ebx + 0xf4]
xor edi, edi
cmp eax, edi
je 0x42e5a1
push esi
push dword [ebx + 0xf8]
push 0x2401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call fcn.0042742f
mov eax, dword [ebx + 0x1720]
push edi
push edi
push 0x12
push dword [eax]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push edi
push edi
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp dword [esp + 0x18], 0x900
jne 0x42e5e0
mov eax, dword [esp + 0x20]
push dword [eax]
mov dword [eax + 4], edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebx + 0x1720]
push edi
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x42e5b9
push str.ServerThread
push 8
push dword [0x48d1c4]
call fcn.00454eb0
add esp, 0xc
pop edi
pop esi
mov byte [ebx + 0x1760], 1
pop ebp
add esp, 0x24
ret 4