Function at 0x10025d2
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x1004028]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
inc edi
push edi
xor ebx, ebx
push 0x10015fe
mov dword [ebp - 4], eax
mov dword [ebp - 0x58], ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
cmp dword [ebp + 8], 2
jl 0x100260f
push dword [esi + 4]
mov ecx, 0x10040a8
call fcn.01001544
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x1002626
mov dword [ebp - 0x54], 0x80004005
jmp 0x10027ad
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [0x1004048], eax
jne 0x1002650
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x54], eax
jmp 0x10027ad
push 0x1004050
push 0x20008
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1002642
lea eax, [ebp - 0x64]
push eax
push 4
push 0x100404c
push 0xc
push dword [0x1004050]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1002642
call fcn.01002cf1
cmp eax, ebx
mov dword [0x100403c], eax
je 0x100261a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x100405c
mov dword [0x1004058], eax
call fcn.01001871
test eax, eax
jne 0x10026b0
mov eax, 0x7530
jmp 0x10026bb
mov eax, dword [0x100405c]
imul eax, eax, 0x3e8
mov dword [0x100405c], eax
imul eax, eax, 0xfffe7960
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ebx
call fcn.01002435
cmp eax, ebx
mov dword [ebp - 0x54], eax
jne 0x10027ad
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebx
push ebx
call esi
cmp eax, ebx
mov dword [0x1004054], eax
je 0x100261a
push 0x1001802
push eax
push ebx
push dword [0x100403c]
call fcn.01002d4b
cmp eax, ebx
mov dword [ebp - 0x54], eax
jne 0x10027ad
push ebx
push ebx
push edi
push ebx
call esi
cmp eax, ebx
mov dword [0x100406c], eax
je 0x1002642
mov eax, dword [0x100405c]
cmp eax, ebx
je 0x1002742
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x60]
push eax
push dword [0x1004070]
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
push ebx
push ebx
push edi
push ebx
call esi
cmp eax, ebx
mov dword [0x1004060], eax
je 0x1002642
jmp 0x100276f
push dword [0x100403c]
call fcn.01002d90
cmp eax, ebx
mov dword [ebp - 0x54], eax
je 0x100276f
mov dword [0x1004040], edi
cmp dword [0x1004040], ebx
je 0x1002757
cmp dword [0x1004074], ebx
je 0x10027ad
mov esi, 0x1001228
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x4c], 4
mov dword [ebp - 8], 5
call fcn.01001681
xor edi, edi
inc edi
mov eax, dword [0x1004060]
cmp eax, ebx
je 0x10027bd
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x1004064]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
je 0x10027db
push 0x7530
push eax
call esi
test eax, eax
jne 0x10027db
mov dword [ebp - 0x58], edi
mov eax, dword [0x1004068]
cmp eax, ebx
je 0x10027f3
push 0x7530
push eax
call esi
test eax, eax
jne 0x10027f3
mov dword [ebp - 0x58], edi
mov eax, dword [0x10040a4]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1002805
push eax
call esi
mov eax, dword [0x10040ac]
cmp eax, ebx
je 0x100281a
mov dword [0x10040ac], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x100403c]
cmp eax, ebx
je 0x1002829
push eax
call fcn.01002d33
mov eax, dword [0x1004048]
cmp eax, ebx
je 0x1002835
push eax
call esi
mov eax, dword [0x1004070]
cmp eax, ebx
je 0x1002841
push eax
call esi
mov eax, dword [0x1004088]
cmp eax, ebx
je 0x100284d
push eax
call esi
mov eax, dword [0x1004090]
cmp eax, ebx
je 0x1002859
push eax
call esi
mov eax, dword [0x1004098]
cmp eax, ebx
je 0x100286a
push eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, dword [0x1004060]
cmp eax, ebx
je 0x100287c
push eax
call esi
mov dword [0x1004060], ebx
mov eax, dword [0x100406c]
cmp eax, ebx
je 0x1002888
push eax
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x58], ebx
je 0x100289a
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x54]
pop edi
pop esi
pop ebx
call fcn.01002922
leave
ret