Function at 0x10019320
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10085b74
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x1001937c
push 0x50
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x50], ebx
cmp eax, ebx
je 0x10019363
push ebx
mov ecx, eax
call fcn.100120a0
jmp 0x10019365
xor eax, eax
mov dword [esp + 0x50], 0xffffffff
mov dword [ebp + 0x10], eax
cmp eax, ebx
jne 0x1001937c
push 0xffffffffffffffff
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, dword [ebp + 0x10]
call fcn.10010c50
test al, al
jne 0x10019399
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
mov ecx, dword [0x100bbcfc]
push esi
push edi
lea eax, [esp + 0x34]
push eax
call fcn.10012e50
mov edi, 8
mov dword [esp + 0x58], 1
cmp dword [eax + 0x14], edi
jb 0x100193c1
mov esi, dword [eax]
jmp 0x100193c3
mov esi, eax
cmp dword [ebp + 0x10], ebx
jne 0x100193ff
push 0x50
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x58], 2
cmp eax, ebx
je 0x100193e9
push ebx
mov ecx, eax
call fcn.100120a0
jmp 0x100193eb
xor eax, eax
mov byte [esp + 0x58], 1
mov dword [ebp + 0x10], eax
cmp eax, ebx
jne 0x100193ff
push 0xffffffffffffffff
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push str.Locale
call fcn.10012580
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x48], edi
jb 0x10019429
mov ecx, dword [esp + 0x34]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
call fcn.100109c0
mov edi, eax
mov esi, edx
add edi, 0x3a98
adc esi, ebx
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
mov dword [esp + 0x10], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x58], 3
nop
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.10019070
test al, al
je 0x10019480
cmp dword [esp + 0x10], 0
jg 0x1001950d
push 0x32
call ebx
call fcn.100109c0
cmp edx, esi
jl 0x10019460
jg 0x10019493
cmp eax, edi
jb 0x10019460
cmp dword [esp + 0x10], 0
jne 0x1001950d
test byte [0x100bbcc4], 1
jne 0x100194cb
or dword [0x100bbcc4], 1
mov ecx, 0x100bbca0
mov byte [esp + 0x58], 4
call fcn.10009750
push 0x100875d0
call fcn.10083c4f
add esp, 4
mov byte [esp + 0x58], 3
push str.Timeout_waiting_for_UI_to_connect_to_game
push str.AccessDRM::LaunchUIProcess
push 1
push 0x100bbca0
call fcn.10009820
add esp, 0x10
cmp dword [esp + 0x2c], 8
jb 0x100194f8
mov edx, dword [esp + 0x18]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
call fcn.100109c0
cmp dword [esp + 0x2c], 8
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
jb 0x1001952c
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret