Function at 0x407a80
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8d4
push edi
mov byte [ebp - 0x208], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x630], 0
mov word [ebp - 0x618], 0
mov ecx, 0x103
xor eax, eax
lea edi, [ebp - 0x616]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x634], 0
call fcn.00433230
mov dword [ebp - 0x638], eax
push 0
push 1
call fcn.0040f302
add esp, 8
push str.Running_the_license_server_manager__lmgrd__in_dedicated_windows_..._n
call fcn.0040f492
add esp, 4
push 0
push 1
call fcn.0040f302
add esp, 8
push str._tUse__z_to_run_in_foreground_in_this_window_n
call fcn.0040f492
add esp, 4
cmp dword [ebp - 0x638], 2
jne 0x407bc8
mov byte [ebp - 0x840], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x83f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x844], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.004b4b70
add esp, 8
push 0x4c9d24
lea ecx, [ebp - 0x840]
push ecx
call fcn.004b4b80
add esp, 8
push 0x44
push 0
lea edx, [ebp - 0x888]
push edx
call fcn.004b4340
add esp, 0xc
mov dword [ebp - 0x888], 0x44
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x888]
push ecx
push 0
push 0
mov edx, dword [0x4d8c84]
neg edx
sbb edx, edx
and edx, 0xfffffff8
add edx, 0x10
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x840]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x62c], eax
jmp 0x407d30
mov dword [ebp - 0x8d4], 0
mov dword [ebp - 0x88c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x618]
push ecx
call fcn.004b57d5
add esp, 8
lea edx, [ebp - 0x88c]
push edx
push str.__z2
push 0
call fcn.0043358a
add esp, 0xc
mov dword [ebp - 0x634], eax
cmp dword [ebp - 0x634], 0
jne 0x407c1c
jmp 0x407d7c
mov eax, dword [ebp - 0x634]
push eax
lea ecx, [ebp - 0x618]
push ecx
call fcn.004b57ab
add esp, 8
mov edx, dword [ebp - 0x634]
push edx
call fcn.004176ae
add esp, 4
mov dword [ebp - 0x634], 0
lea eax, [ebp - 0x88c]
push eax
lea ecx, [ebp - 0x618]
push ecx
push 0
call fcn.00433633
add esp, 0xc
mov dword [ebp - 0x630], eax
cmp dword [ebp - 0x630], 0
je 0x407cce
cmp dword [ebp - 0x88c], 0x208
jbe 0x407c88
mov dword [ebp - 0x88c], 0x207
mov edx, dword [ebp - 0x88c]
push edx
mov eax, dword [ebp - 0x630]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.004b4a70
add esp, 0xc
mov edx, dword [ebp - 0x88c]
mov byte [ebp + edx - 0x208], 0
mov eax, dword [ebp - 0x630]
push eax
call fcn.004176ae
add esp, 4
mov dword [ebp - 0x630], 0
jmp 0x407cd5
mov byte [ebp - 0x208], 0
push 0x44
push 0
lea ecx, [ebp - 0x8d0]
push ecx
call fcn.004b4340
add esp, 0xc
mov dword [ebp - 0x8d0], 0x44
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0x8d0]
push eax
push 0
push 0
mov ecx, dword [0x4d8c84]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 0x10
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x618]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x62c], eax
cmp dword [ebp - 0x62c], 0
jne 0x407d5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x208]
push eax
push str.CreateProcess_of___s__failed__error:__d_n
push 0x4d7fc0
call fcn.004b558a
add esp, 0x10
jmp 0x407d7c
mov ecx, dword [ebp - 0x624]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x628]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call fcn.004b4c8d
pop edi
mov esp, ebp
pop ebp
ret