Function at 0x7025d530
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x70319018
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
xor ebp, ebp
push ebp
push 1
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x7025d575
xor eax, eax
jmp 0x7025d79f
mov cx, word [edi]
lea edx, [esi + 0x34]
lea ebx, [edi + 4]
push edx
mov dword [esp + 0x1c], ebp
mov word [esi + 0x30], cx
call fcn.7025e430
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x7025d629
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov ebp, vtable.CTrayUiMsgDlg.0
xor ebx, ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], ebx
mov eax, dword [esi + 0x20]
push eax
lea edi, [esp + 0x28]
mov dword [esp + 0x4c], esi
call fcn.7025e0c0
mov ecx, dword [esi + 0x10]
lea edi, [esi + 0x10]
cmp ecx, 1
jne 0x7025d604
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x7025d5f2
mov dx, word [esi + 0x30]
mov word [eax], dx
add eax, 4
lea ebx, [esi + 0x34]
push eax
call fcn.7025e430
push 1
push 2
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov esi, 1
jmp 0x7025d608
mov esi, dword [esp + 0x18]
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], ebp
test eax, eax
je 0x7025d622
push eax
call fcn.702e039a
mov eax, esi
jmp 0x7025d79f
mov eax, dword [esi + 4]
cmp eax, 1
jne 0x7025d646
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x1c], eax
cmp eax, ebp
je 0x7025d56e
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebp
push ebp
push esi
push 0x7025d7c0
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebp, eax
test ebp, ebp
jne 0x7025d677
call fcn.7025ced0
jmp 0x7025d779
mov edx, dword [esi + 4]
cmp edx, 4
je 0x7025d76a
mov eax, dword [esi + 4]
cmp eax, 3
jne 0x7025d6a4
mov eax, dword [esi + 0x28]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x18], eax
jmp 0x7025d772
mov ecx, dword [esi + 4]
cmp ecx, 1
jne 0x7025d772
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, eax
mov edi, edi
mov edx, dword [esi + 0x1c]
push 0x1f4
push 0
lea eax, [esp + 0x24]
push eax
push 2
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebp
call ebx
cmp eax, 1
ja 0x7025d711
test eax, eax
jne 0x7025d70c
mov ecx, dword [esi + 0x10]
cmp ecx, 1
je 0x7025d739
mov edx, dword [esi + 0x14]
cmp edx, 3
je 0x7025d739
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x7025d704
mov ecx, dword [esi + 0x14]
cmp ecx, 2
jne 0x7025d6c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x7025d6bc
cmp eax, 1
jmp 0x7025d737
cmp eax, 0x102
jne 0x7025d739
cmp dword [esi + 0x2c], 0xffffffff
je 0x7025d72f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jb 0x7025d739
sub eax, edi
cmp dword [esi + 0x2c], eax
jbe 0x7025d739
mov edx, dword [0x7037101c]
test edx, edx
jne 0x7025d6c0
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x10]
cmp eax, 1
jne 0x7025d772
mov eax, dword [esp + 0x64]
test eax, eax
je 0x7025d75f
mov cx, word [esi + 0x30]
mov word [eax], cx
add eax, 4
lea ebx, [esi + 0x34]
push eax
call fcn.7025e430
push 1
push 2
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov dword [esp + 0x18], 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x7025d79b
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x7025d79b
mov edx, dword [esi + 0x24]
push 0
push 0
push 0x12
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4