Function at 0x419084
Capabilities:
Delete file

Disassembly:
sub esp, 0x24
cmp dword [ebx + 0x1690], 3
push ebp
push esi
push edi
jne 0x4190ac
mov eax, dword [ebx + 0x1850]
test eax, eax
je 0x4190ac
push dword [ebx + 0x1870]
push 0
push 0
call eax
add esp, 0xc
cmp dword [esp + 0x34], 0
jne 0x419111
push 0x458e44
push 8
push dword [0x467474]
call fcn.00429210
add esp, 0xc
cmp dword [ebx + 0x1690], 3
je 0x4190e2
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 0x419188
push 0x457aec
push 8
push dword [0x467474]
call fcn.00429210
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]
cmp dword [ebx + 0x1690], 3
je 0x419188
lea edi, [ebx + 0x1698]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi], 0xffffffff
lea eax, [ebx + 0x1674]
cmp dword [eax + 0x18], 8
jb 0x41917e
mov eax, dword [eax + 4]
jmp 0x419181
add eax, 4
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 0x4191ab
push eax
call fcn.004106f9
push dword [esp + 0x10]
call fcn.0043a14d
and dword [edi], 0
pop ecx
push ebp
call esi
lea edi, [ebx + 0x600]
cmp word [edi], 0
jne 0x4191d7
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 0x4191ff
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.00402635
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.00409798
mov eax, dword [ebx + 0xf4]
xor edi, edi
cmp eax, edi
je 0x419239
push esi
push dword [ebx + 0xf8]
push 0x2401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call fcn.00408b9d
mov eax, dword [ebx + 0x1704]
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 0x419278
mov eax, dword [esp + 0x20]
push dword [eax]
mov dword [eax + 4], edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebx + 0x1704]
push edi
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x419251
push str.ServerThread
push 8
push dword [0x467474]
call fcn.00429210
add esp, 0xc
pop edi
pop esi
mov byte [ebx + 0x1744], 1
pop ebp
add esp, 0x24
ret 4