Function at 0x403450
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x4d04a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0xc8], ebx
call fcn.0040dfb0
push ebx
push ebx
call fcn.00410300
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.0040d1b0
lea eax, [ebp - 0x58]
push eax
call fcn.00403360
add esp, 4
xor ecx, ecx
push 0x11
mov word [ebp - 0x20], cx
push 0x48f33c
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
call fcn.00402280
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040d500
cmp dword [ebp - 0xc], 8
jb 0x4034da
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00426825
add esp, 4
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x4034e6
lea eax, [ebp - 0x3c]
push 0
push 1
push 0
push 1
push eax
call fcn.0040be40
push 0
push 1
push 1
push 1
call fcn.004093a0
push 0x1c
push str.toolscrash_servicemain.cc
call fcn.0040c250
add esp, 0x2c
cmp eax, 1
jl 0x403557
push 0xffffffffffffffff
push 0x38
push str.toolscrash_servicemain.cc
lea ecx, [ebp - 0x1ac]
mov ebx, 1
call fcn.0040b170
push 0x48f4f0
push esi
add eax, 8
push str.session_start._cmdline_is__
push eax
call fcn.00402810
add esp, 8
push eax
call fcn.0040b3f0
add esp, 8
push eax
call fcn.00402810
add esp, 8
test bl, 1
je 0x40356a
lea ecx, [ebp - 0x1ac]
and ebx, 0xfffffffe
call fcn.0040b9e0
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0xc0]
call fcn.00405570
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov word [ebp - 0x20], cx
mov ecx, eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
lea esi, [ecx + 2]
jmp 0x4035a0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4035a0
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00402280
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0xc0]
call fcn.00408870
test al, al
sete byte [ebp - 0xc1]
cmp dword [ebp - 0xc], 8
jb 0x4035e3
mov eax, dword [ebp - 0x20]
push eax
call fcn.00426825
add esp, 4
cmp byte [ebp - 0xc1], 0
je 0x403629
lea ecx, [ebp - 0xc0]
call fcn.00405ab0
lea ecx, [ebp - 0x3c]
call fcn.00446200
lea ecx, [ebp - 0x58]
call fcn.00446200
lea ecx, [ebp - 0xfc]
call fcn.0040e430
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271c4
mov esp, ebp
pop ebp
ret 0x10
push 0x1c
push str.toolscrash_servicemain.cc
call fcn.0040c250
add esp, 8
cmp eax, 1
jl 0x403665
push 0xffffffffffffffff
push 0x3e
push str.toolscrash_servicemain.cc
lea ecx, [ebp - 0x1ac]
or ebx, 2
call fcn.0040b170
add eax, 8
push str.ready_to_process_crash_requests
push eax
call fcn.00402810
add esp, 8
test bl, 2
je 0x403678
lea ecx, [ebp - 0x1ac]
and ebx, 0xfffffffd
call fcn.0040b9e0
lea ecx, [ebp - 0xc0]
call fcn.00406680
push 0x1c
push str.toolscrash_servicemain.cc
mov esi, eax
call fcn.0040c250
add esp, 8
cmp eax, 1
jl 0x4036c9
push 0xffffffffffffffff
push 0x43
push str.toolscrash_servicemain.cc
lea ecx, [ebp - 0x1ac]
or ebx, 4
call fcn.0040b170
push esi
add eax, 8
push str.session_end._return_code_is
push eax
call fcn.00402810
add esp, 8
mov ecx, eax
call fcn.00405b50
test bl, 4
je 0x4036d9
lea ecx, [ebp - 0x1ac]
call fcn.0040b9e0
lea ecx, [ebp - 0xc0]
call fcn.00405ab0
lea ecx, [ebp - 0x3c]
call fcn.00446200
lea ecx, [ebp - 0x58]
call fcn.00446200
lea ecx, [ebp - 0xfc]
call fcn.0040e430
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004271c4
mov esp, ebp
pop ebp
ret 0x10