Function at 0x40d000
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x419040]
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.00410c4d
add esp, 4
mov dword [esp + 0xe4], vtable.RSMonitor.0
lea eax, [esp + 0xe4]
mov dword [esp + 0xe8], 0
push eax
call fcn.00410c4d
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.0040f761
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.0040f761
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.0040f761
push 0
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0xa8]
call fcn.0041002e
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x40d77e
push 0
push 0xffffffffffffffff
push str.___broker
lea ecx, [esp + 0x3c]
call fcn.0040f761
push 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xa8]
call fcn.0041002e
mov esi, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], 0
test eax, eax
je 0x40d192
push eax
call fcn.004112b3
mov eax, dword [esp + 0x44]
add esp, 4
test eax, eax
je 0x40d192
push 2
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], 0
test eax, eax
je 0x40d1be
push eax
call fcn.004112b3
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
je 0x40d1be
push 1
push eax
call fcn.0041127e
add esp, 8
xor edi, edi
cmp esi, 0xffffffff
je 0x40d3d2
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xa0]
add esi, 0xa
mov dword [esp + 0x58], edi
sub eax, esi
mov dword [esp + 0x5c], edi
push eax
push esi
lea eax, [esp + 0x38]
mov dword [esp + 0x68], edi
push eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
call fcn.0041048b
push eax
lea ecx, [esp + 0x5c]
call fcn.0040f903
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], edi
test eax, eax
je 0x40d22f
push eax
call fcn.004112b3
mov eax, dword [esp + 0x44]
add esp, 4
test eax, eax
je 0x40d22f
push 2
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], edi
test eax, eax
je 0x40d257
push eax
call fcn.004112b3
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
je 0x40d257
push 1
push eax
call fcn.0041127e
add esp, 8
lea ecx, [esp + 0x58]
call fcn.00410186
cmp dword [esp + 0x5c], edi
je 0x40d37a
push 0xc
call fcn.0041124e
mov edi, eax
lea ecx, [esp + 0x5c]
xorps xmm0, xmm0
add esp, 4
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], vtable.BrokerPolicyCheckerImpl.0
call fcn.00410186
cmp byte [edi + 8], 0
mov dword [esp + 0x10], eax
jne 0x40d37a
test eax, eax
je 0x40d340
cmp word [eax], 0
je 0x40d340
push 0x94
call fcn.0041124e
add esp, 4
mov esi, eax
push 0x94
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 8
push dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004015c0
mov dword [edi + 4], eax
xor esi, esi
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x40d336
sub esp, 0xc
call fcn.00401990
test eax, eax
je 0x40d309
push 0x14
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x7d0
jb 0x40d2e3
jmp 0x40d311
cmp esi, 0x7d0
jb 0x40d336
mov esi, dword [edi + 4]
test esi, esi
je 0x40d32d
mov ecx, esi
call fcn.004017c0
push 0x94
push esi
call fcn.0041127e
add esp, 8
mov dword [edi + 4], 0
jmp 0x40d33a
mov byte [edi + 8], 1
cmp byte [edi + 8], 0
jne 0x40d37a
mov esi, dword [edi + 4]
mov dword [edi], vtable.BrokerPolicyCheckerImpl.0
test esi, esi
je 0x40d369
mov ecx, esi
call fcn.004017c0
push 0x94
push esi
call fcn.0041127e
add esp, 8
mov dword [edi + 4], 0
push 0xc
push edi
mov byte [edi + 8], 0
call fcn.0041127e
add esp, 8
xor edi, edi
mov eax, dword [esp + 0x68]
mov dword [esp + 0x68], 0
test eax, eax
je 0x40d3a6
push eax
call fcn.004112b3
mov eax, dword [esp + 0x6c]
add esp, 4
test eax, eax
je 0x40d3a6
push 2
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0x60]
mov dword [esp + 0x60], 0
test eax, eax
je 0x40d3d2
push eax
call fcn.004112b3
mov eax, dword [esp + 0x64]
add esp, 4
test eax, eax
je 0x40d3d2
push 1
push eax
call fcn.0041127e
add esp, 8
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xf0]
add esi, 7
lea ecx, [esp + 0xa0]
push esi
push eax
call fcn.0041002e
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x40d77e
sub eax, esi
mov dword [esp + 0xc0], 0
push eax
push esi
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.0041048b
push eax
lea ecx, [esp + 0xc4]
call fcn.0040f903
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], 0
test eax, eax
je 0x40d48b
push eax
call fcn.004112b3
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
je 0x40d48b
push 2
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test eax, eax
je 0x40d4b7
push eax
call fcn.004112b3
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x40d4b7
push 1
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0x10]
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.0041048b
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.0040fbc4
lea ecx, [esp + 0x88]
call fcn.004101bf
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.0040fbc4
lea ecx, [esp + 0x70]
call fcn.004101bf
push 0x54
lea eax, [esp + 0x134]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.004101bf
push edi
lea ecx, [esp + 0xdc]
push ecx
push eax
lea ecx, [esp + 0x94]
call fcn.004101bf
push eax
lea ecx, [esp + 0x140]
call fcn.0040d9f0
lea ecx, [esp + 0x130]
call fcn.00406130
lea ecx, [esp + 0x130]
call fcn.0040e0d0
mov eax, dword [esp + 0x80]
mov dword [esp + 0x80], 0
test eax, eax
je 0x40d626
push eax
call fcn.004112b3
mov eax, dword [esp + 0x84]
add esp, 4
test eax, eax
je 0x40d626
push 2
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0x78]
mov dword [esp + 0x78], 0
test eax, eax
je 0x40d652
push eax
call fcn.004112b3
mov eax, dword [esp + 0x7c]
add esp, 4
test eax, eax
je 0x40d652
push 1
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0x98]
mov dword [esp + 0x98], 0
test eax, eax
je 0x40d687
push eax
call fcn.004112b3
mov eax, dword [esp + 0x9c]
add esp, 4
test eax, eax
je 0x40d687
push 2
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0x90]
mov dword [esp + 0x90], 0
test eax, eax
je 0x40d6bc
push eax
call fcn.004112b3
mov eax, dword [esp + 0x94]
add esp, 4
test eax, eax
je 0x40d6bc
push 1
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], 0
test eax, eax
je 0x40d6e8
push eax
call fcn.004112b3
mov eax, dword [esp + 0x44]
add esp, 4
test eax, eax
je 0x40d6e8
push 2
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], 0
test eax, eax
je 0x40d714
push eax
call fcn.004112b3
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
je 0x40d714
push 1
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xd0], 0
test eax, eax
je 0x40d749
push eax
call fcn.004112b3
mov eax, dword [esp + 0xd4]
add esp, 4
test eax, eax
je 0x40d749
push 2
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc8], 0
test eax, eax
je 0x40d77e
push eax
call fcn.004112b3
mov eax, dword [esp + 0xcc]
add esp, 4
test eax, eax
je 0x40d77e
push 1
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0x100]
mov dword [esp + 0x100], 0
test eax, eax
je 0x40d7b3
push eax
call fcn.004112b3
mov eax, dword [esp + 0x104]
add esp, 4
test eax, eax
je 0x40d7b3
push 2
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xf8], 0
test eax, eax
je 0x40d7e8
push eax
call fcn.004112b3
mov eax, dword [esp + 0xfc]
add esp, 4
test eax, eax
je 0x40d7e8
push 1
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0x120]
mov dword [esp + 0x120], 0
test eax, eax
je 0x40d81d
push eax
call fcn.004112b3
mov eax, dword [esp + 0x124]
add esp, 4
test eax, eax
je 0x40d81d
push 2
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0x118]
mov dword [esp + 0x118], 0
test eax, eax
je 0x40d852
push eax
call fcn.004112b3
mov eax, dword [esp + 0x11c]
add esp, 4
test eax, eax
je 0x40d852
push 1
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xb0], 0
test eax, eax
je 0x40d887
push eax
call fcn.004112b3
mov eax, dword [esp + 0xb4]
add esp, 4
test eax, eax
je 0x40d887
push 2
push eax
call fcn.0041127e
add esp, 8
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xa8], 0
test eax, eax
je 0x40d8bc
push eax
call fcn.004112b3
mov eax, dword [esp + 0xac]
add esp, 4
test eax, eax
je 0x40d8bc
push 1
push eax
call fcn.0041127e
add esp, 8
lea ecx, [esp + 0xe4]
call fcn.00410ae5
lea ecx, [esp + 0xdc]
call fcn.00410ae5
mov ecx, dword [esp + 0x18c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00411240
mov esp, ebp
pop ebp
ret 0x10