Function at 0x40c1f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x418014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
lea eax, [esp + 0xd8]
mov dword [esp + 0xe8], 0
push edi
xorps xmm0, xmm0
mov dword [esp + 0xd8], 0
push eax
movlpd qword [esp + 0xe8], xmm0
mov dword [esp + 0xe0], vtable.RSMonitor.0
mov dword [esp + 0xe4], 0
call fcn.0040fc22
add esp, 4
mov dword [esp + 0xe4], vtable.RSMonitor.0
lea eax, [esp + 0xe4]
mov dword [esp + 0xe8], 0
push eax
call fcn.0040fc22
add esp, 4
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0xec], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
xorps xmm0, xmm0
lea ecx, [esp + 0xa4]
push 0xffffffffffffffff
push eax
movaps xmmword [esp + 0xac], xmm0
movq qword [esp + 0xbc], xmm0
call fcn.0040e5e8
push 0
xorps xmm0, xmm0
lea ecx, [esp + 0x114]
push 0xffffffffffffffff
push str.___ipc
movaps xmmword [esp + 0x11c], xmm0
movq qword [esp + 0x12c], xmm0
call fcn.0040e5e8
push 0
xorps xmm0, xmm0
lea ecx, [esp + 0xf4]
push 0xffffffffffffffff
push str.___proc
movaps xmmword [esp + 0xfc], xmm0
movq qword [esp + 0x10c], xmm0
call fcn.0040e5e8
push 0
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0xa8]
call fcn.0040ef0f
mov edi, eax
cmp edi, 0xffffffff
je 0x40c879
push 0
push 0xffffffffffffffff
push str.___broker
lea ecx, [esp + 0x3c]
call fcn.0040e5e8
push 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xa8]
call fcn.0040ef0f
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x40c371
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x44]
add esp, 4
push 2
push eax
call fcn.004102b1
mov ecx, dword [esp + 0x40]
xor eax, eax
add esp, 8
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x40c397
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x3c]
add esp, 4
push 1
push eax
call fcn.004102b1
mov ecx, dword [esp + 0x1c]
add esp, 8
xor esi, esi
cmp ecx, 0xffffffff
je 0x40c50a
add ecx, 0xa
mov dword [esp + 0x58], esi
mov eax, edi
mov dword [esp + 0x5c], esi
sub eax, ecx
mov dword [esp + 0x60], esi
push eax
push ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x6c], esi
push eax
lea ecx, [esp + 0xac]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
call fcn.0040f402
push eax
lea ecx, [esp + 0x5c]
call fcn.0040e7c9
mov ecx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x40c408
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x44]
add esp, 4
push 2
push eax
call fcn.004102b1
mov ecx, dword [esp + 0x40]
xor eax, eax
add esp, 8
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x40c42e
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x3c]
add esp, 4
push 1
push eax
call fcn.004102b1
add esp, 8
lea ecx, [esp + 0x58]
call fcn.0040f0b7
cmp dword [esp + 0x5c], esi
je 0x40c4be
push 0xc
call fcn.00410281
mov esi, eax
lea ecx, [esp + 0x5c]
xorps xmm0, xmm0
add esp, 4
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], vtable.BrokerPolicyCheckerImpl.0
call fcn.0040f0b7
push eax
mov ecx, esi
call fcn.0040bfc0
test al, al
jne 0x40c4be
mov eax, dword [esi + 4]
mov dword [esi], vtable.BrokerPolicyCheckerImpl.0
mov dword [esp + 0x14], eax
test eax, eax
je 0x40c4ad
mov ecx, eax
call fcn.00401690
push 0x94
push dword [esp + 0x18]
call fcn.004102b1
add esp, 8
mov dword [esi + 4], 0
push 0xc
push esi
mov byte [esi + 8], 0
call fcn.004102b1
add esp, 8
xor esi, esi
mov ecx, dword [esp + 0x68]
xor eax, eax
mov dword [esp + 0x68], eax
test ecx, ecx
je 0x40c4d9
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x6c]
add esp, 4
push 2
push eax
call fcn.004102b1
mov ecx, dword [esp + 0x68]
xor eax, eax
add esp, 8
mov dword [esp + 0x60], eax
test ecx, ecx
je 0x40c4ff
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x64]
add esp, 4
push 1
push eax
call fcn.004102b1
add esp, 8
add edi, 7
lea eax, [esp + 0xf0]
push edi
push eax
lea ecx, [esp + 0xa8]
call fcn.0040ef0f
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x40c879
sub eax, edi
mov dword [esp + 0xc0], 0
push eax
push edi
lea eax, [esp + 0x20]
mov dword [esp + 0xcc], 0
push eax
lea ecx, [esp + 0xac]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
call fcn.0040f402
push eax
lea ecx, [esp + 0xc4]
call fcn.0040e7c9
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x40c5ae
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x2c]
add esp, 4
push 2
push eax
call fcn.004102b1
mov ecx, dword [esp + 0x28]
xor eax, eax
add esp, 8
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x40c5d4
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x24]
add esp, 4
push 1
push eax
call fcn.004102b1
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xa8]
add esp, 8
add eax, 8
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0040f402
push 0xffffffffffffffff
lea eax, [esp + 0xc4]
mov dword [esp + 0x8c], 0
push eax
lea ecx, [esp + 0x90]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
call fcn.0040eaf7
lea ecx, [esp + 0x88]
call fcn.0040f0f0
push 0xffffffffffffffff
lea eax, [esp + 0x34]
mov dword [esp + 0x74], 0
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call fcn.0040eaf7
lea ecx, [esp + 0x70]
call fcn.0040f0f0
push 0x54
lea eax, [esp + 0x134]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.0040f0f0
push esi
lea ecx, [esp + 0xdc]
push ecx
push eax
lea ecx, [esp + 0x94]
call fcn.0040f0f0
push eax
lea ecx, [esp + 0x140]
call fcn.0040cac0
lea ecx, [esp + 0x130]
call fcn.004056d0
lea ecx, [esp + 0x130]
call fcn.0040d360
mov ecx, dword [esp + 0x80]
xor eax, eax
mov dword [esp + 0x80], eax
test ecx, ecx
je 0x40c73d
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x84]
add esp, 4
push 2
push eax
call fcn.004102b1
mov ecx, dword [esp + 0x80]
xor eax, eax
add esp, 8
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x40c766
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x7c]
add esp, 4
push 1
push eax
call fcn.004102b1
mov ecx, dword [esp + 0xa0]
xor eax, eax
add esp, 8
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x40c795
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x9c]
add esp, 4
push 2
push eax
call fcn.004102b1
mov ecx, dword [esp + 0x98]
xor eax, eax
add esp, 8
mov dword [esp + 0x90], eax
test ecx, ecx
je 0x40c7c4
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x94]
add esp, 4
push 1
push eax
call fcn.004102b1
mov ecx, dword [esp + 0x48]
xor eax, eax
add esp, 8
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x40c7ea
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x44]
add esp, 4
push 2
push eax
call fcn.004102b1
mov ecx, dword [esp + 0x40]
xor eax, eax
add esp, 8
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x40c810
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x3c]
add esp, 4
push 1
push eax
call fcn.004102b1
mov ecx, dword [esp + 0xd8]
xor eax, eax
add esp, 8
mov dword [esp + 0xd0], eax
test ecx, ecx
je 0x40c83f
push ecx
call fcn.004102e3
mov eax, dword [esp + 0xd4]
add esp, 4
push 2
push eax
call fcn.004102b1
mov ecx, dword [esp + 0xd0]
xor eax, eax
add esp, 8
mov dword [esp + 0xc8], eax
test ecx, ecx
je 0x40c86e
push ecx
call fcn.004102e3
mov eax, dword [esp + 0xcc]
add esp, 4
push 1
push eax
call fcn.004102b1
add esp, 8
mov ecx, dword [esp + 0x100]
xor eax, eax
mov dword [esp + 0x100], eax
test ecx, ecx
je 0x40c89d
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x104]
add esp, 4
push 2
push eax
call fcn.004102b1
mov ecx, dword [esp + 0x100]
xor eax, eax
add esp, 8
mov dword [esp + 0xf8], eax
test ecx, ecx
je 0x40c8cc
push ecx
call fcn.004102e3
mov eax, dword [esp + 0xfc]
add esp, 4
push 1
push eax
call fcn.004102b1
mov ecx, dword [esp + 0x128]
xor eax, eax
add esp, 8
mov dword [esp + 0x120], eax
test ecx, ecx
je 0x40c8fb
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x124]
add esp, 4
push 2
push eax
call fcn.004102b1
mov ecx, dword [esp + 0x120]
xor eax, eax
add esp, 8
mov dword [esp + 0x118], eax
test ecx, ecx
je 0x40c92a
push ecx
call fcn.004102e3
mov eax, dword [esp + 0x11c]
add esp, 4
push 1
push eax
call fcn.004102b1
mov ecx, dword [esp + 0xb8]
xor eax, eax
add esp, 8
mov dword [esp + 0xb0], eax
test ecx, ecx
je 0x40c959
push ecx
call fcn.004102e3
mov eax, dword [esp + 0xb4]
add esp, 4
push 2
push eax
call fcn.004102b1
mov ecx, dword [esp + 0xb0]
xor eax, eax
add esp, 8
mov dword [esp + 0xa8], eax
test ecx, ecx
je 0x40c988
push ecx
call fcn.004102e3
mov eax, dword [esp + 0xac]
add esp, 4
push 1
push eax
call fcn.004102b1
add esp, 8
lea ecx, [esp + 0xe4]
call fcn.0040fab5
lea ecx, [esp + 0xdc]
call fcn.0040fab5
mov ecx, dword [esp + 0x18c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00410270
mov esp, ebp
pop ebp
ret 0x10