Function at 0x411200
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c207
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5edd38]
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 edi, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
movlpd qword [ebp - 0x48], xmm0
call fcn.00411660
mov dword [ebp - 0x48], eax
test eax, eax
je 0x411269
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x5f16d8], eax
test eax, eax
jne 0x411271
mov eax, 5
jmp 0x411637
call fcn.00401bc0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
call fcn.004117f0
add esp, 4
test al, al
jne 0x41128b
mov eax, 5
jmp 0x411637
call fcn.0040b570
mov ecx, str.type
mov dword [ebp - 0x58], 0
mov esi, eax
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4112b0
sub ecx, edx
push ecx
push str.type
lea ecx, [ebp - 0x68]
call fcn.0040b580
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040b680
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.0040ba20
lea eax, [ebp - 0x40]
push str.compute_only_broker
push eax
call fcn.00410020
add esp, 8
test al, al
jne 0x411304
cmp dword [ebp - 0x30], 0
jne 0x41131c
push 1
push str.bEnableHeapMitigations
call fcn.004103a0
add esp, 8
test eax, eax
je 0x41131c
call fcn.00411ca0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ba20
push 1
push str.bEnableProcessIntegrityMitigations
call fcn.004103a0
add esp, 8
test eax, eax
je 0x411343
call fcn.00412320
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov byte [edi], 0
call fcn.0040b570
mov ecx, str.type
mov dword [ebp - 0x70], 0
mov ebx, eax
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411370
sub ecx, edx
push ecx
push str.type
lea ecx, [ebp - 0x80]
call fcn.0040b580
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0040b680
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 5
call fcn.0040ba20
push 0xc
call fcn.00406a5e
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
test esi, esi
je 0x4113ce
mov dword [esi], ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x4113d0
xor esi, esi
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
mov dword [esi + 4], eax
or ebx, 0xffffffff
cmp dword [ebp - 0x18], 0
jne 0x41140a
push 0
push 0
mov byte [0x5f16e6], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
push dword [ebp - 0x4c]
push dword [ebp + 8]
push esi
call fcn.004127a0
add esp, 0xc
mov ebx, eax
jmp 0x41147a
lea eax, [ebp - 0x28]
push str.compute_only_broker
push eax
call fcn.00410020
add esp, 8
test al, al
je 0x411443
push 0
push 0
mov byte [0x5f16e6], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
push dword [ebp - 0x4c]
push dword [ebp + 8]
push esi
call fcn.0047f470
add esp, 0xc
mov ebx, eax
jmp 0x41147a
lea eax, [ebp - 0x28]
push str.renderer
push eax
call fcn.00410020
add esp, 8
test al, al
jne 0x41146d
lea eax, [ebp - 0x28]
push str.compute_only_renderer
push eax
call fcn.00410020
add esp, 8
test al, al
je 0x41147a
mov eax, dword [ebp - 0x44]
xor ebx, ebx
mov byte [edi], 1
mov dword [0x5f1730], eax
push 0xc
push esi
call fcn.00409f25
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040ba20
cmp dword [ebp - 0x48], 0
je 0x411635
or edx, 0xffffffff
mov esi, 0x5f16dc
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
mov ecx, 0x5f16e0
xor eax, eax
lock cmpxchg dword [ecx], edx
xor eax, eax
mov ecx, 0x5f3914
xchg dword [ecx], eax
push dword [0x5f16d8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x411635
mov ecx, 2
mov eax, 1
lock cmpxchg dword [esi], ecx
cmp eax, 1
jne 0x41156a
mov esi, dword [0x5f1714]
xor eax, eax
test esi, esi
je 0x41151e
cmp dword [esi], eax
je 0x41151e
nop dword [eax]
test eax, eax
jne 0x411558
mov eax, dword [esi + 0x14]
test eax, eax
je 0x411512
push eax
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
add esi, 0x24
cmp dword [esi], 0
jne 0x411500
test eax, eax
jne 0x411558
mov esi, dword [0x5ed090]
xor eax, eax
mov edx, dword [0x5ed094]
cmp esi, edx
jae 0x411558
test eax, eax
jne 0x411558
mov ecx, dword [esi]
test ecx, ecx
je 0x411551
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x411551
push eax
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
mov edx, dword [0x5ed094]
add esi, 4
cmp esi, edx
jb 0x411530
call dword [sym.imp.ole32.dll_CoSuspendClassObjects]
call fcn.00447fd0
mov ecx, eax
call fcn.00475200
mov esi, dword [0x5f1784]
test esi, esi
jne 0x4115b9
push 0x64
call fcn.00406a5e
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], 8
test esi, esi
je 0x4115a6
push 0x64
push 0
push esi
call fcn.0053f340
add esp, 0xc
mov ecx, esi
call fcn.00411710
mov esi, eax
jmp 0x4115a8
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x5f1784], esi
test esi, esi
je 0x4115cb
mov ecx, esi
call fcn.004752d0
push 0x64
push esi
call fcn.00409f25
add esp, 8
mov edi, dword [0x5f3910]
mov dword [0x5f1784], 0
mov dword [ebp - 0x48], 0
test edi, edi
je 0x4115f8
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5817c0]
mov ecx, edi
call esi
cmp byte [0x5f16e5], 0
mov dword [0x5f3910], 0
je 0x411615
mov ecx, 0x5f16e8
call fcn.00478530
cmp byte [0x5f16e6], 0
je 0x411624
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [0x5f16e6], 0
mov dword [0x5f16d8], 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.00401682
mov esp, ebp
pop ebp
ret