Function at 0x40ca80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x419014]
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.0041074d
add esp, 4
mov dword [esp + 0xe4], vtable.RSMonitor.0
lea eax, [esp + 0xe4]
mov dword [esp + 0xe8], 0
push eax
call fcn.0041074d
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.0040f12e
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.0040f12e
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.0040f12e
push 0
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0xa8]
call fcn.0040fa77
mov edi, eax
cmp edi, 0xffffffff
je 0x40d15e
push 0
push 0xffffffffffffffff
push str.___broker
lea ecx, [esp + 0x3c]
call fcn.0040f12e
push 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xa8]
call fcn.0040fa77
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], 0
test eax, eax
je 0x40cc12
push eax
call fcn.00410db3
mov eax, dword [esp + 0x44]
add esp, 4
test eax, eax
je 0x40cc12
push 2
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], 0
test eax, eax
je 0x40cc3e
push eax
call fcn.00410db3
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
je 0x40cc3e
push 1
push eax
call fcn.00410d81
add esp, 8
mov ecx, dword [esp + 0x14]
xor esi, esi
cmp ecx, 0xffffffff
je 0x40cdb6
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.0040ff71
push eax
lea ecx, [esp + 0x5c]
call fcn.0040f2d0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], esi
test eax, eax
je 0x40ccb1
push eax
call fcn.00410db3
mov eax, dword [esp + 0x44]
add esp, 4
test eax, eax
je 0x40ccb1
push 2
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], esi
test eax, eax
je 0x40ccd9
push eax
call fcn.00410db3
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
je 0x40ccd9
push 1
push eax
call fcn.00410d81
add esp, 8
lea ecx, [esp + 0x58]
call fcn.0040fc1f
cmp dword [esp + 0x5c], esi
je 0x40cd5e
push 0xc
call fcn.00410d51
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.0040fc1f
push eax
mov ecx, esi
call fcn.0040c850
test al, al
jne 0x40cd5e
mov eax, dword [esi + 4]
mov dword [esi], vtable.BrokerPolicyCheckerImpl.0
mov dword [esp + 0x14], eax
test eax, eax
je 0x40cd4d
mov ecx, eax
call fcn.004016e0
push 0x94
push dword [esp + 0x18]
call fcn.00410d81
add esp, 8
mov dword [esi + 4], 0
push 0xc
push esi
mov byte [esi + 8], 0
call fcn.00410d81
add esp, 8
xor esi, esi
mov eax, dword [esp + 0x68]
mov dword [esp + 0x68], 0
test eax, eax
je 0x40cd8a
push eax
call fcn.00410db3
mov eax, dword [esp + 0x6c]
add esp, 4
test eax, eax
je 0x40cd8a
push 2
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0x60]
mov dword [esp + 0x60], 0
test eax, eax
je 0x40cdb6
push eax
call fcn.00410db3
mov eax, dword [esp + 0x64]
add esp, 4
test eax, eax
je 0x40cdb6
push 1
push eax
call fcn.00410d81
add esp, 8
add edi, 7
lea eax, [esp + 0xf0]
push edi
push eax
lea ecx, [esp + 0xa8]
call fcn.0040fa77
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x40d15e
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.0040ff71
push eax
lea ecx, [esp + 0xc4]
call fcn.0040f2d0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], 0
test eax, eax
je 0x40ce6b
push eax
call fcn.00410db3
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
je 0x40ce6b
push 2
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test eax, eax
je 0x40ce97
push eax
call fcn.00410db3
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x40ce97
push 1
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xa0]
push 0xffffffffffffffff
add eax, 8
xorps xmm0, xmm0
push eax
lea eax, [esp + 0x38]
movaps xmmword [esp + 0x38], xmm0
push eax
movq qword [esp + 0x4c], xmm0
call fcn.0040ff71
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.0040f606
lea ecx, [esp + 0x88]
call fcn.0040fc58
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.0040f606
lea ecx, [esp + 0x70]
call fcn.0040fc58
push 0x54
lea eax, [esp + 0x134]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.0040fc58
push esi
lea ecx, [esp + 0xdc]
push ecx
push eax
lea ecx, [esp + 0x94]
call fcn.0040fc58
push eax
lea ecx, [esp + 0x140]
call fcn.0040d3d0
lea ecx, [esp + 0x130]
call fcn.00405f70
lea ecx, [esp + 0x130]
call fcn.0040dc50
mov eax, dword [esp + 0x80]
mov dword [esp + 0x80], 0
test eax, eax
je 0x40d006
push eax
call fcn.00410db3
mov eax, dword [esp + 0x84]
add esp, 4
test eax, eax
je 0x40d006
push 2
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0x78]
mov dword [esp + 0x78], 0
test eax, eax
je 0x40d032
push eax
call fcn.00410db3
mov eax, dword [esp + 0x7c]
add esp, 4
test eax, eax
je 0x40d032
push 1
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0x98]
mov dword [esp + 0x98], 0
test eax, eax
je 0x40d067
push eax
call fcn.00410db3
mov eax, dword [esp + 0x9c]
add esp, 4
test eax, eax
je 0x40d067
push 2
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0x90]
mov dword [esp + 0x90], 0
test eax, eax
je 0x40d09c
push eax
call fcn.00410db3
mov eax, dword [esp + 0x94]
add esp, 4
test eax, eax
je 0x40d09c
push 1
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], 0
test eax, eax
je 0x40d0c8
push eax
call fcn.00410db3
mov eax, dword [esp + 0x44]
add esp, 4
test eax, eax
je 0x40d0c8
push 2
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], 0
test eax, eax
je 0x40d0f4
push eax
call fcn.00410db3
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
je 0x40d0f4
push 1
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xd0], 0
test eax, eax
je 0x40d129
push eax
call fcn.00410db3
mov eax, dword [esp + 0xd4]
add esp, 4
test eax, eax
je 0x40d129
push 2
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc8], 0
test eax, eax
je 0x40d15e
push eax
call fcn.00410db3
mov eax, dword [esp + 0xcc]
add esp, 4
test eax, eax
je 0x40d15e
push 1
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0x100]
mov dword [esp + 0x100], 0
test eax, eax
je 0x40d193
push eax
call fcn.00410db3
mov eax, dword [esp + 0x104]
add esp, 4
test eax, eax
je 0x40d193
push 2
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xf8], 0
test eax, eax
je 0x40d1c8
push eax
call fcn.00410db3
mov eax, dword [esp + 0xfc]
add esp, 4
test eax, eax
je 0x40d1c8
push 1
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0x120]
mov dword [esp + 0x120], 0
test eax, eax
je 0x40d1fd
push eax
call fcn.00410db3
mov eax, dword [esp + 0x124]
add esp, 4
test eax, eax
je 0x40d1fd
push 2
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0x118]
mov dword [esp + 0x118], 0
test eax, eax
je 0x40d232
push eax
call fcn.00410db3
mov eax, dword [esp + 0x11c]
add esp, 4
test eax, eax
je 0x40d232
push 1
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xb0], 0
test eax, eax
je 0x40d267
push eax
call fcn.00410db3
mov eax, dword [esp + 0xb4]
add esp, 4
test eax, eax
je 0x40d267
push 2
push eax
call fcn.00410d81
add esp, 8
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xa8], 0
test eax, eax
je 0x40d29c
push eax
call fcn.00410db3
mov eax, dword [esp + 0xac]
add esp, 4
test eax, eax
je 0x40d29c
push 1
push eax
call fcn.00410d81
add esp, 8
lea ecx, [esp + 0xe4]
call fcn.004105e5
lea ecx, [esp + 0xdc]
call fcn.004105e5
mov ecx, dword [esp + 0x18c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00410d40
mov esp, ebp
pop ebp
ret 0x10