Function at 0x412f40
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x3c], al
mov eax, str.type
push edi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x28], 0xf
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412f80
sub eax, edx
push eax
push str.type
lea ecx, [ebp - 0x3c]
call fcn.00407910
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, esi
call fcn.00407a10
cmp dword [ebp - 0x28], 0x10
jb 0x412fb8
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406ec9
add esp, 4
mov eax, str.renderer
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412fc0
mov ebx, dword [ebp - 0x10]
sub eax, edx
mov esi, eax
mov ecx, ebx
cmp ebx, esi
jb 0x412fd6
mov ecx, esi
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
cmp edi, 0x10
jae 0x412fe4
lea eax, [ebp - 0x20]
push ecx
push str.renderer
push eax
call fcn.00408180
add esp, 0xc
test eax, eax
jne 0x413004
cmp ebx, esi
jb 0x413004
cmp ebx, esi
setne al
test eax, eax
je 0x41305a
mov eax, str.compute_only_renderer
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413010
sub eax, edx
mov esi, eax
mov ecx, ebx
cmp ebx, esi
jb 0x413023
mov ecx, esi
mov eax, dword [ebp - 0x20]
cmp edi, 0x10
jae 0x41302e
lea eax, [ebp - 0x20]
push ecx
push str.compute_only_renderer
push eax
call fcn.00408180
add esp, 0xc
test eax, eax
jne 0x4133b2
cmp ebx, esi
jb 0x4133b2
cmp ebx, esi
setne al
test eax, eax
jne 0x4133b2
lea ecx, [ebp - 0x7c]
call fcn.004135c0
mov ecx, dword [0x5513c4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, eax
mov eax, str.compute_only_renderer
mov dword [ebp - 0x60], edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413080
mov ebx, dword [ebp - 0x10]
sub eax, edx
mov esi, eax
mov eax, ebx
cmp ebx, esi
jb 0x413096
mov eax, esi
cmp dword [ebp - 0xc], 0x10
mov ecx, dword [ebp - 0x20]
jae 0x4130a2
lea ecx, [ebp - 0x20]
push eax
push str.compute_only_renderer
push ecx
call fcn.00408180
add esp, 0xc
test eax, eax
jne 0x4130ca
cmp ebx, esi
jb 0x4130ca
cmp ebx, esi
setne al
test eax, eax
jne 0x4130ca
push edi
call fcn.0045e600
jmp 0x4130d0
push edi
call fcn.00425ff0
mov esi, dword [ebp - 0x68]
add esp, 4
cmp dword [esi + 0x10], 0
mov ebx, 8
je 0x413160
cmp dword [esi + 0x14], ebx
jb 0x4130ea
mov eax, dword [esi]
jmp 0x4130ec
mov eax, esi
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x2c]
push 0
push 0
mov ecx, edi
call eax
test eax, eax
jne 0x413140
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
mov dword [ebp - 0x6c], 0x512b88
mov dword [ebp - 0x68], 1
call fcn.0045b250
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x28], ebx
jae 0x413126
lea eax, [ebp - 0x3c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x2c]
push 0
push 0
mov ecx, edi
call eax
lea ecx, [ebp - 0x3c]
test eax, eax
je 0x41315b
call fcn.00407110
lea ecx, [ebp - 0x7c]
call fcn.00432f90
cmp dword [ebp - 0xc], 0x10
jb 0x4133c3
mov ecx, dword [ebp - 0x20]
push ecx
jmp 0x4133bb
call fcn.00407110
mov esi, dword [ebp - 0x64]
push edi
push esi
call fcn.00427960
add esp, 8
test al, al
jne 0x413217
call fcn.0040ecf0
test eax, eax
jg 0x413206
call fcn.0040ecf0
test eax, eax
jg 0x4131e3
push 0
push 0x38f
push str...contentcommon_sandbox_policy.cc
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x5c], 6
call fcn.00458750
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x3c]
push str.0x_X
push edx
call fcn.0042c9e0
push str.policy_error:
add edi, ebx
push edi
mov esi, eax
call fcn.004461c0
add esp, 0x14
cmp dword [esi + 0x14], ebx
jb 0x4131d9
mov esi, dword [esi]
push esi
push eax
call fcn.004587e0
add esp, 8
mov ebx, dword [ebp - 0x5c]
test bl, 4
je 0x4131f9
lea ecx, [ebp - 0x12c]
and ebx, 0xfffffffb
call fcn.00458cd0
test bl, 2
je 0x413206
lea ecx, [ebp - 0x3c]
call fcn.0040a2c0
lea ecx, [ebp - 0x7c]
call fcn.00432f90
cmp dword [ebp - 0xc], 0x10
jmp 0x4133b5
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
call fcn.0040eda0
cmp dword [eax + 0x14], ebx
jb 0x41322b
mov ebx, dword [eax]
jmp 0x41322d
mov ebx, eax
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
call fcn.004104f0
cmp dword [eax + 0x14], 8
jb 0x413242
mov edi, dword [eax]
jmp 0x413244
mov edi, eax
mov eax, dword [0x5513c4]
mov esi, dword [eax]
lea ecx, [ebp - 0x7c]
call fcn.0042f960
mov ecx, dword [ebp - 0x60]
mov edx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [0x5513c4]
push ebx
push edi
call edx
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.00407110
cmp dword [ebp - 0x28], 8
jb 0x413281
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406ec9
add esp, 4
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x413358
call fcn.0040ecf0
test eax, eax
jg 0x413335
call fcn.0040ecf0
test eax, eax
jg 0x413312
push 0
push 0x3a8
push str...contentcommon_sandbox_policy.cc
lea ecx, [ebp - 0x12c]
mov ebx, 0x60
call fcn.00458750
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x58]
push str.0x_X
push ecx
call fcn.0042c9e0
add esp, 0xc
push eax
push str._error:
push esi
push str.Failed_to_launch_sandbox_process._ResultCode:
add edi, 8
push edi
call fcn.004461c0
add esp, 8
mov ecx, eax
call fcn.004580c0
push eax
call fcn.004461c0
add esp, 8
push eax
call fcn.00448d60
add esp, 8
jmp 0x413315
mov ebx, dword [ebp - 0x5c]
test bl, 0x40
je 0x413328
lea ecx, [ebp - 0x12c]
and ebx, 0xffffffbf
call fcn.00458cd0
test bl, 0x20
je 0x413335
lea ecx, [ebp - 0x58]
call fcn.0040a2c0
lea ecx, [ebp - 0x7c]
call fcn.00432f90
lea ecx, [ebp - 0x20]
call fcn.00438e30
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x5513c0]
test ecx, ecx
je 0x41337b
call fcn.00438d80
test al, al
je 0x41337b
call fcn.00438da0
push 0x50d97c
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ecx, [ebp - 0x7c]
call fcn.00438e20
lea ecx, [ebp - 0x7c]
mov esi, eax
call fcn.00432f90
lea ecx, [ebp - 0x20]
call fcn.00438e30
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
cmp edi, 0x10
jb 0x4133c3
mov eax, dword [ebp - 0x20]
push eax
call fcn.00406ec9
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret