Function at 0xd88070
Capabilities:
Create thread
Get common file path
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0xdc451c]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
push 1
push 0xd886d0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
call fcn.00d8d830
test eax, eax
je 0xd884db
xor ebx, ebx
push ebx
call fcn.00da0839
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
add esp, 4
push eax
mov dword [esp + 0x18], edx
call fcn.00da04db
mov esi, eax
add esp, 4
mov ecx, 9
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x3c]
push ecx
inc edx
push edx
add eax, 0x76c
push eax
push str.__d__02d__02d__02d:_02d:_02d_
call fcn.00d9f6dc
add esp, 0x1c
push str._INFO_
call fcn.00d9f6dc
add esp, 4
push str.______Inside_WinaMain_Method_______n
call fcn.00d9f6dc
add esp, 4
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 4
mov dword [0xdc6dd4], ebx
call fcn.00d89eb0
test eax, eax
je 0xd884db
push 0xdbd220
push str.SoftwareAdventNetDesktopCentralDCAgentProcessMonitor
lea edx, [esp + 0x18]
mov ecx, str.MemUsage
mov dword [esp + 0x18], ebx
call fcn.00d8c7e0
add esp, 8
test eax, eax
jne 0xd881dc
push 1
push str.SoftwareAdventNetDesktopCentralDCAgentProcessMonitor
mov ecx, str.AllowStart
mov edx, 0xdbd220
call fcn.00d8ca10
push 0x5a
push str.SoftwareAdventNetDesktopCentralDCAgentProcessMonitor
mov ecx, str.CpuUsage
mov edx, 0xdbd220
call fcn.00d8ca10
push 0x1f4
push str.SoftwareAdventNetDesktopCentralDCAgentProcessMonitor
mov ecx, str.MemUsage
mov edx, 0xdbd220
call fcn.00d8ca10
push 1
push str.SoftwareAdventNetDesktopCentralDCAgentProcessMonitor
mov ecx, str.CpuIntervalinMin
mov edx, 0xdbd220
call fcn.00d8ca10
push 2
push str.SoftwareAdventNetDesktopCentralDCAgentProcessMonitor
mov ecx, str.MemIntervalinSec
mov edx, 0xdbd220
call fcn.00d8ca10
add esp, 0x28
jmp 0xd881e3
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0xd88224
call fcn.00d8d7d0
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
push str.WinMain_:_Unable_to_launch_COM.._n
call fcn.00d9f6dc
add esp, 4
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 4
jmp 0xd884db
push ebx
push ebx
push ebx
push 3
push 2
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0xd88253
call fcn.00d8d7d0
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
push str.WinMain_:_Unable_to_initialize_security.._n
jmp 0xd88206
call fcn.00d88500
test eax, eax
jne 0xd8836c
push 0x104
push 2
call fcn.00d9e3a7
add esp, 8
mov ebx, eax
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0xd88300
call fcn.00d8d7d0
push str._INFO_
call fcn.00d9f6dc
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
call esi
push eax
push str.Cannot_get_systemwow64_directory___error_____d_n
call fcn.00d9f6dc
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 0xc
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0xd88300
test ebx, ebx
je 0xd88300
call fcn.00d8d7d0
push str._INFO_
call fcn.00d9f6dc
add esp, 4
call esi
push eax
push str.Cannot_get_system32_directory__error_____d_n
call fcn.00d9f6dc
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 0xc
jmp 0xd884a6
lea edx, [esp + 0x40]
mov eax, ebx
sub edx, ebx
jmp 0xd88310
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0xd88310
lea edi, [esp + 0x40]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0xd88326
mov ecx, 7
mov esi, str.lodctr.exe__R
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
test ebx, ebx
je 0xd8834d
push ebx
call fcn.00d9e1b8
add esp, 4
lea ebx, [esp + 0x40]
call fcn.00d8d580
test eax, eax
je 0xd8835f
call fcn.00d8d580
call fcn.00d88500
test eax, eax
je 0xd884a6
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0xd88750
push 0
push 0
mov dword [0xdc5d08], eax
call esi
push 0
push 0
push 0
push 0xd888b0
push 0
push 0
mov edi, eax
call esi
mov ebx, eax
call fcn.00d8d7d0
push str._INFO_
call fcn.00d9f6dc
add esp, 4
push str.GOING_TO_CALL_cTHREAD_n
call fcn.00d9f6dc
add esp, 4
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 4
push 0
push 0
push 0
push 0xd87d90
push 0
push 0
call esi
mov ecx, dword [0xdc5d08]
push 0xffffffffffffffff
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push ebx
call esi
push 0
push edi
call esi
mov edx, dword [esp + 0x10]
push 0
push edx
call esi
mov eax, dword [0xdc6dd4]
test eax, eax
je 0xd8844a
mov esi, dword [0xdc6d50]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
push eax
call fcn.00d9e1b8
add esp, 4
add esi, 0x28
dec dword [esp + 0x18]
jne 0xd88436
mov ecx, dword [0xdc6d50]
push ecx
call fcn.00d9e1b8
mov eax, dword [0xdc6d5c]
xor esi, esi
add esp, 4
cmp eax, esi
je 0xd88473
push eax
call fcn.00d9e1b8
add esp, 4
mov dword [0xdc6d5c], esi
mov eax, dword [0xdc6d58]
cmp eax, esi
je 0xd8848b
push eax
call fcn.00d9e1b8
add esp, 4
mov dword [0xdc6d58], esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
mov eax, dword [0xdc5d08]
push eax
call esi
call fcn.00d8d7d0
push str._INFO_
call fcn.00d9f6dc
add esp, 4
push str.______End_of_WinaMain_Method_______n
call fcn.00d9f6dc
add esp, 4
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 4
call fcn.00d8db20
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00d9c668
mov esp, ebp
pop ebp
ret 0x10