Function at 0x410c20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55506f
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
movq qword [ebp - 0x30], xmm0
call fcn.00410fc0
mov dword [ebp - 0x30], eax
test eax, eax
je 0x410c89
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x5cb420], eax
test eax, eax
jne 0x410c91
mov eax, 5
jmp 0x410f77
call fcn.00401a50
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00411140
add esp, 4
test al, al
jne 0x410cab
mov eax, 5
jmp 0x410f77
call fcn.0040a890
mov ecx, str.type
mov dword [ebp - 0x3c], 0
mov esi, eax
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410cd0
sub ecx, edx
push ecx
push str.type
lea ecx, [ebp - 0x4c]
call fcn.0040a8a0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040a9e0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.0040ad30
mov edx, str.compute_only_broker
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x410d11
mov edi, dword [ebp - 0x18]
sub edx, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp edi, edx
jne 0x410d88
mov esi, edi
mov edx, str.compute_only_broker
sub esi, 4
jb 0x410d49
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x410d4e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x410d38
cmp esi, 0xfffffffc
je 0x410d82
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x410d7b
cmp esi, 0xfffffffd
je 0x410d82
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x410d7b
cmp esi, 0xfffffffe
je 0x410d82
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x410d7b
cmp esi, 0xffffffff
je 0x410d82
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x410d82
sbb eax, eax
or eax, 1
jmp 0x410d84
xor eax, eax
test eax, eax
je 0x410d8c
test edi, edi
jne 0x410da4
push 1
push str.bEnableHeapMitigations
call fcn.0040f320
add esp, 8
test eax, eax
je 0x410da4
call fcn.00411660
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ad30
push 1
push str.bEnableProcessIntegrityMitigations
call fcn.0040f320
add esp, 8
test eax, eax
je 0x410dcb
call fcn.00411e30
push dword [ebp - 0x34]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call fcn.00412330
add esp, 0x14
mov ebx, eax
cmp dword [ebp - 0x30], 0
je 0x410f75
or ecx, 0xffffffff
mov esi, 0x5cb428
xor eax, eax
lock cmpxchg dword [esi], ecx
xor eax, eax
mov ecx, 0x5ccda8
xchg dword [ecx], eax
push dword [0x5cb420]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x410f75
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [esi], ecx
cmp eax, 1
jne 0x410eaa
mov esi, dword [0x5cb45c]
xor eax, eax
test esi, esi
je 0x410e5e
cmp dword [esi], eax
je 0x410e5e
nop dword [eax]
test eax, eax
jne 0x410e98
mov eax, dword [esi + 0x14]
test eax, eax
je 0x410e52
push eax
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
add esi, 0x24
cmp dword [esi], 0
jne 0x410e40
test eax, eax
jne 0x410e98
mov esi, dword [0x5c7090]
xor eax, eax
mov edx, dword [0x5c7094]
cmp esi, edx
jae 0x410e98
test eax, eax
jne 0x410e98
mov ecx, dword [esi]
test ecx, ecx
je 0x410e91
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x410e91
push eax
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
mov edx, dword [0x5c7094]
add esi, 4
cmp esi, edx
jb 0x410e70
call dword [sym.imp.ole32.dll_CoSuspendClassObjects]
call fcn.00430bc0
mov ecx, eax
call fcn.0046ea00
mov esi, dword [0x5cb498]
test esi, esi
jne 0x410ef9
push 0x40
call fcn.00406909
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 3
test esi, esi
je 0x410ee6
push 0x40
push 0
push esi
call fcn.005290f0
add esp, 0xc
mov ecx, esi
call fcn.00411060
mov esi, eax
jmp 0x410ee8
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x5cb498], esi
test esi, esi
je 0x410f0b
mov ecx, esi
call fcn.0046ead0
push 0x40
push esi
call fcn.004097e6
add esp, 8
mov edi, dword [0x5ccda4]
mov dword [0x5cb498], 0
mov dword [ebp - 0x30], 0
test edi, edi
je 0x410f38
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5677a4]
mov ecx, edi
call esi
cmp byte [0x5cb42d], 0
mov dword [0x5ccda4], 0
je 0x410f55
mov ecx, 0x5cb430
call fcn.00471de0
cmp byte [0x5cb42e], 0
je 0x410f64
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [0x5cb42e], 0
mov dword [0x5cb420], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret