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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8e8
mov eax, dword [0x539a68]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x228], 0
push 0x207
push 0
lea eax, [ebp - 0x227]
push eax
call fcn.004057a0
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x640], 0
push 0x40e
push 0
lea ecx, [ebp - 0x63e]
push ecx
call fcn.004057a0
add esp, 0xc
mov dword [ebp - 0x22c], 0
call fcn.004605a0
mov dword [ebp - 4], eax
push 0
push 1
call fcn.004542f0
add esp, 8
push str.Running_the_license_server_manager__lmgrd__in_dedicated_windows_..._n
call fcn.00454520
add esp, 4
push 0
push 1
call fcn.004542f0
add esp, 8
push str._tUse__z_to_run_in_foreground_in_this_window_n
call fcn.00454520
add esp, 4
cmp dword [ebp - 4], 2
jne 0x413052
mov byte [ebp - 0x898], 0
push 0x207
push 0
lea edx, [ebp - 0x897]
push edx
call fcn.004057a0
add esp, 0xc
mov dword [ebp - 0x644], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [ebp - 0x898]
push eax
call fcn.00443310
add esp, 8
push 0x53bcc8
lea ecx, [ebp - 0x898]
push ecx
call fcn.00443320
add esp, 8
push 0x44
push 0
lea edx, [ebp - 0x690]
push edx
call fcn.004057a0
add esp, 0xc
mov dword [ebp - 0x690], 0x44
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x690]
push ecx
push 0
push 0
xor edx, edx
cmp dword [0x558a9c], 0
sete dl
lea edx, [edx*8 + 8]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x898]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 8], eax
jmp 0x4131a4
mov dword [ebp - 0x89c], 0
mov dword [ebp - 0x8a0], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x640]
push ecx
call fcn.0044380e
add esp, 8
lea edx, [ebp - 0x8a0]
push edx
push str.__z2
call fcn.00460950
add esp, 8
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x4130a4
jmp 0x4131eb
mov eax, dword [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x640]
push ecx
call fcn.004437e4
add esp, 8
mov edx, dword [ebp - 0x22c]
push edx
call fcn.00462990
add esp, 4
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x8a0]
push eax
lea ecx, [ebp - 0x640]
push ecx
call fcn.00460a00
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x413145
cmp dword [ebp - 0x8a0], 0x208
jbe 0x413108
mov dword [ebp - 0x8a0], 0x207
mov edx, dword [ebp - 0x8a0]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.004436c0
add esp, 0xc
mov edx, dword [ebp - 0x8a0]
mov byte [ebp + edx - 0x228], 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00462990
add esp, 4
mov dword [ebp - 0x1c], 0
jmp 0x41314c
mov byte [ebp - 0x228], 0
push 0x44
push 0
lea ecx, [ebp - 0x8e8]
push ecx
call fcn.004057a0
add esp, 0xc
mov dword [ebp - 0x8e8], 0x44
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x8e8]
push eax
push 0
push 0
xor ecx, ecx
cmp dword [0x558a9c], 0
sete cl
lea ecx, [ecx*8 + 8]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x640]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4131d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x228]
push eax
push str.CreateProcess_of___s__failed__error:__d_n
call fcn.00443165
add eax, 0x40
push eax
call fcn.00443016
add esp, 0x10
jmp 0x4131eb
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call fcn.0040153c
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret