Function at 0x40c230
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.0040fc62
add esp, 4
mov dword [esp + 0xe4], vtable.RSMonitor.0
lea eax, [esp + 0xe4]
mov dword [esp + 0xe8], 0
push eax
call fcn.0040fc62
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.0040e628
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.0040e628
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.0040e628
push 0
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0xa8]
call fcn.0040ef4f
mov edi, eax
cmp edi, 0xffffffff
je 0x40c8b9
push 0
push 0xffffffffffffffff
push str.___broker
lea ecx, [esp + 0x3c]
call fcn.0040e628
push 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xa8]
call fcn.0040ef4f
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x40c3b1
push ecx
call fcn.00410323
mov eax, dword [esp + 0x44]
add esp, 4
push 2
push eax
call fcn.004102f1
mov ecx, dword [esp + 0x40]
xor eax, eax
add esp, 8
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x40c3d7
push ecx
call fcn.00410323
mov eax, dword [esp + 0x3c]
add esp, 4
push 1
push eax
call fcn.004102f1
mov ecx, dword [esp + 0x1c]
add esp, 8
xor esi, esi
cmp ecx, 0xffffffff
je 0x40c54a
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.0040f442
push eax
lea ecx, [esp + 0x5c]
call fcn.0040e809
mov ecx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x40c448
push ecx
call fcn.00410323
mov eax, dword [esp + 0x44]
add esp, 4
push 2
push eax
call fcn.004102f1
mov ecx, dword [esp + 0x40]
xor eax, eax
add esp, 8
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x40c46e
push ecx
call fcn.00410323
mov eax, dword [esp + 0x3c]
add esp, 4
push 1
push eax
call fcn.004102f1
add esp, 8
lea ecx, [esp + 0x58]
call fcn.0040f0f7
cmp dword [esp + 0x5c], esi
je 0x40c4fe
push 0xc
call fcn.004102c1
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.0040f0f7
push eax
mov ecx, esi
call fcn.0040c000
test al, al
jne 0x40c4fe
mov eax, dword [esi + 4]
mov dword [esi], vtable.BrokerPolicyCheckerImpl.0
mov dword [esp + 0x14], eax
test eax, eax
je 0x40c4ed
mov ecx, eax
call fcn.004016c0
push 0x94
push dword [esp + 0x18]
call fcn.004102f1
add esp, 8
mov dword [esi + 4], 0
push 0xc
push esi
mov byte [esi + 8], 0
call fcn.004102f1
add esp, 8
xor esi, esi
mov ecx, dword [esp + 0x68]
xor eax, eax
mov dword [esp + 0x68], eax
test ecx, ecx
je 0x40c519
push ecx
call fcn.00410323
mov eax, dword [esp + 0x6c]
add esp, 4
push 2
push eax
call fcn.004102f1
mov ecx, dword [esp + 0x68]
xor eax, eax
add esp, 8
mov dword [esp + 0x60], eax
test ecx, ecx
je 0x40c53f
push ecx
call fcn.00410323
mov eax, dword [esp + 0x64]
add esp, 4
push 1
push eax
call fcn.004102f1
add esp, 8
add edi, 7
lea eax, [esp + 0xf0]
push edi
push eax
lea ecx, [esp + 0xa8]
call fcn.0040ef4f
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x40c8b9
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.0040f442
push eax
lea ecx, [esp + 0xc4]
call fcn.0040e809
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x40c5ee
push ecx
call fcn.00410323
mov eax, dword [esp + 0x2c]
add esp, 4
push 2
push eax
call fcn.004102f1
mov ecx, dword [esp + 0x28]
xor eax, eax
add esp, 8
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x40c614
push ecx
call fcn.00410323
mov eax, dword [esp + 0x24]
add esp, 4
push 1
push eax
call fcn.004102f1
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.0040f442
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.0040eb37
lea ecx, [esp + 0x88]
call fcn.0040f130
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.0040eb37
lea ecx, [esp + 0x70]
call fcn.0040f130
push 0x54
lea eax, [esp + 0x134]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.0040f130
push esi
lea ecx, [esp + 0xdc]
push ecx
push eax
lea ecx, [esp + 0x94]
call fcn.0040f130
push eax
lea ecx, [esp + 0x140]
call fcn.0040cb00
lea ecx, [esp + 0x130]
call fcn.00405710
lea ecx, [esp + 0x130]
call fcn.0040d3a0
mov ecx, dword [esp + 0x80]
xor eax, eax
mov dword [esp + 0x80], eax
test ecx, ecx
je 0x40c77d
push ecx
call fcn.00410323
mov eax, dword [esp + 0x84]
add esp, 4
push 2
push eax
call fcn.004102f1
mov ecx, dword [esp + 0x80]
xor eax, eax
add esp, 8
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x40c7a6
push ecx
call fcn.00410323
mov eax, dword [esp + 0x7c]
add esp, 4
push 1
push eax
call fcn.004102f1
mov ecx, dword [esp + 0xa0]
xor eax, eax
add esp, 8
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x40c7d5
push ecx
call fcn.00410323
mov eax, dword [esp + 0x9c]
add esp, 4
push 2
push eax
call fcn.004102f1
mov ecx, dword [esp + 0x98]
xor eax, eax
add esp, 8
mov dword [esp + 0x90], eax
test ecx, ecx
je 0x40c804
push ecx
call fcn.00410323
mov eax, dword [esp + 0x94]
add esp, 4
push 1
push eax
call fcn.004102f1
mov ecx, dword [esp + 0x48]
xor eax, eax
add esp, 8
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x40c82a
push ecx
call fcn.00410323
mov eax, dword [esp + 0x44]
add esp, 4
push 2
push eax
call fcn.004102f1
mov ecx, dword [esp + 0x40]
xor eax, eax
add esp, 8
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x40c850
push ecx
call fcn.00410323
mov eax, dword [esp + 0x3c]
add esp, 4
push 1
push eax
call fcn.004102f1
mov ecx, dword [esp + 0xd8]
xor eax, eax
add esp, 8
mov dword [esp + 0xd0], eax
test ecx, ecx
je 0x40c87f
push ecx
call fcn.00410323
mov eax, dword [esp + 0xd4]
add esp, 4
push 2
push eax
call fcn.004102f1
mov ecx, dword [esp + 0xd0]
xor eax, eax
add esp, 8
mov dword [esp + 0xc8], eax
test ecx, ecx
je 0x40c8ae
push ecx
call fcn.00410323
mov eax, dword [esp + 0xcc]
add esp, 4
push 1
push eax
call fcn.004102f1
add esp, 8
mov ecx, dword [esp + 0x100]
xor eax, eax
mov dword [esp + 0x100], eax
test ecx, ecx
je 0x40c8dd
push ecx
call fcn.00410323
mov eax, dword [esp + 0x104]
add esp, 4
push 2
push eax
call fcn.004102f1
mov ecx, dword [esp + 0x100]
xor eax, eax
add esp, 8
mov dword [esp + 0xf8], eax
test ecx, ecx
je 0x40c90c
push ecx
call fcn.00410323
mov eax, dword [esp + 0xfc]
add esp, 4
push 1
push eax
call fcn.004102f1
mov ecx, dword [esp + 0x128]
xor eax, eax
add esp, 8
mov dword [esp + 0x120], eax
test ecx, ecx
je 0x40c93b
push ecx
call fcn.00410323
mov eax, dword [esp + 0x124]
add esp, 4
push 2
push eax
call fcn.004102f1
mov ecx, dword [esp + 0x120]
xor eax, eax
add esp, 8
mov dword [esp + 0x118], eax
test ecx, ecx
je 0x40c96a
push ecx
call fcn.00410323
mov eax, dword [esp + 0x11c]
add esp, 4
push 1
push eax
call fcn.004102f1
mov ecx, dword [esp + 0xb8]
xor eax, eax
add esp, 8
mov dword [esp + 0xb0], eax
test ecx, ecx
je 0x40c999
push ecx
call fcn.00410323
mov eax, dword [esp + 0xb4]
add esp, 4
push 2
push eax
call fcn.004102f1
mov ecx, dword [esp + 0xb0]
xor eax, eax
add esp, 8
mov dword [esp + 0xa8], eax
test ecx, ecx
je 0x40c9c8
push ecx
call fcn.00410323
mov eax, dword [esp + 0xac]
add esp, 4
push 1
push eax
call fcn.004102f1
add esp, 8
lea ecx, [esp + 0xe4]
call fcn.0040faf5
lea ecx, [esp + 0xdc]
call fcn.0040faf5
mov ecx, dword [esp + 0x18c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004102b0
mov esp, ebp
pop ebp
ret 0x10