Function at 0x40709d
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
push 0x100
lea eax, [esi + 0x8d]
push edi
push eax
call fcn.0042f0a0
add esp, 0xc
mov dword [esi + 0x190], edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x88], eax
jne 0x4070d7
xor al, al
jmp 0x4070f1
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x4070f5
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ecx
ret

Function at 0x407144
Capabilities:
Accept command line arguments
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor esi, esi
mov dword [ebp + 0x10], eax
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0x452c38
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push esi
push esi
push esi
push 2
push 1
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
push dword [ebp + 8]
mov ebx, 0x452c50
mov dword [0x452cc0], 0x44b3f8
mov dword [0x452c28], ebx
push 0x44b2f8
push ebx
mov dword [0x452c50], 0x84
mov dword [0x452cb4], 0x300
call fcn.0040870b
mov eax, 0x441640
mov ecx, eax
test ecx, ecx
je 0x4071d2
push 0x10
push eax
push 0x452de8
call fcn.0042ff20
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, 0x44b420
lea edi, [ebp - 4]
movsw word es:[edi], word [esi]
mov dword [0x452cd4], eax
lea eax, [ebp - 4]
movsb byte es:[edi], byte [esi]
xor esi, esi
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], esi
call fcn.00407103
mov edi, eax
pop ecx
cmp edi, esi
pop ecx
je 0x407259
push str.UnregServer
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x407228
push 0x44b408
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x407243
lea eax, [ebp - 4]
push eax
push edi
jmp 0x4071f4
push esi
push esi
push 0x64
push ebx
call fcn.004072fd
push esi
push 1
push ebx
call fcn.00408a88
mov dword [ebp + 8], eax
jmp 0x4072dc
push esi
push 1
push 0x64
push ebx
call fcn.004072fd
push esi
push 1
push ebx
call fcn.0040890f
jmp 0x40723b
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0x100
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x120]
push eax
call fcn.0041bc20
push 1
push 1
call fcn.0041bc40
add esp, 0xc
mov ecx, ebx
call fcn.0040709d
push 5
push 4
push ebx
call fcn.0040878e
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
call edi
test eax, eax
je 0x4072c6
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
jmp 0x4072ad
push ebx
call fcn.00408823
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0041bd60
push ebx
call fcn.0040885f
push 0x452c38
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10