Function at 0x1012d720
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x190
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x188], eax
mov dword [esp + 4], ecx
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x80]
mov dword [eax], 0xffffffff
mov ebx, 0x4000
mov esi, 0x14
push 0x4000
call fcn.10145c03
add esp, 4
lea ecx, [esp + 0x80]
push ecx
push ebx
mov dword [esp + 0x10], eax
push eax
push 5
call fcn.1012501b
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x1012d798
cmp edi, 0xc0000004
jne 0x1012d836
mov ebx, dword [esp + 0x80]
mov eax, 0x1000
add ebx, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x1012d7b7
push eax
call fcn.10145c0c
add esp, 4
push ebx
call fcn.10145c03
add esp, 4
dec esi
jne 0x1012d76b
cmp dword [0x101bee4c], 2
jg 0x1012d811
lea ebx, [esp + 0xe0]
mov esi, eax
mov ecx, ebx
push 2
push 0x5e
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.100661d0
mov dword [ebx], 0x1019c100
mov dword [ebx + 0xa4], edi
lea eax, [esp + 0xe8]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, ebx
call fcn.10125314
mov eax, esi
test eax, eax
je 0x1012d81e
push eax
call fcn.10145c0c
add esp, 4
mov ecx, dword [esp + 0x188]
xor ecx, ebp
call fcn.101465a3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test edi, edi
js 0x1012d8c2
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov eax, dword [esp + 8]
mov edx, eax
mov esi, dword [esp + 4]
cmp dword [edx + 0x44], edi
je 0x1012d8cb
mov ecx, dword [edx]
test ecx, ecx
je 0x1012d863
add edx, ecx
jne 0x1012d854
cmp dword [0x101bee4c], 2
jg 0x1012d811
lea ebx, [esp + 0xe0]
mov ecx, ebx
push 2
push 0x70
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.100661d0
lea eax, [esp + 0xe8]
push 8
push str.process
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, eax
push edi
call fcn.10031200
push 0xa
push str._not_found
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, ebx
call fcn.10066600
mov eax, dword [esp + 8]
jmp 0x1012d811
mov eax, dword [esp + 8]
jmp 0x1012d7c3
test edx, edx
je 0x1012d811
cmp dword [edx + 4], 0
je 0x1012d811
lea eax, [esi + 0x58]
mov dword [esp + 0x1c], eax
pcmpeqd xmm0, xmm0
xor ebx, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ebx
shl ebx, 6
movdqa xmmword [esp + 0x80], xmm0
xor esi, esi
dec esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], esi
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
xor edi, edi
mov dword [esp + 0x80], edi
mov byte [esp + 0x84], 0
lea eax, [esp + 0x88]
pxor xmm0, xmm0
movdqu xmmword [eax + 0x3c], xmm0
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
lea eax, [edx + ebx + 0xd8]
mov ecx, dword [eax + 4]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x60], 0x18
lea ecx, [esp + 0x64]
mov dword [ecx + 0x10], edi
movdqu xmmword [ecx], xmm0
push eax
lea eax, [esp + 0x64]
push eax
push 0x4a
lea eax, [esp + 0x4c]
push eax
call fcn.10124f98
add esp, 0x10
test eax, eax
js 0x1012db3a
mov esi, dword [esp + 0x40]
test esi, esi
je 0x1012e204
mov eax, dword [esp + 4]
mov dl, byte [eax + 0xd0]
mov eax, dword [esp + 0xa0]
mov ecx, dword fs:[0x18]
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0xa4]
jne 0x1012db95
mov dword [esp + 0xc8], 0
lea ecx, [esp + 0x88]
push 0x2cc
call fcn.1003609e
mov byte [esp + 0x84], 1
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x80]
push eax
call fcn.10010440
add esp, 4
add ebx, dword [esp + 0x20]
mov dword [esp + 0xcc], 0x20
mov eax, dword [ebx + 0xe0]
mov dword [esp + 0xd0], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x6c], xmm0
movdqa xmmword [esp + 0x60], xmm0
xor ebx, ebx
push ebx
push 0x1c
lea eax, [esp + 0x68]
push eax
push ebx
push esi
call fcn.1012509e
add esp, 0x14
test eax, eax
js 0x1012dc4c
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x4c], xmm0
movdqa xmmword [esp + 0x40], xmm0
mov eax, dword [esp + 0x64]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], 0xf98
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x40]
push edx
push ebx
push 0x1c
push ebx
push eax
call fcn.10112af4
test al, al
je 0x1012de92
cmp byte [ebp + 8], 0
je 0x1012dddf
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0xec], xmm0
movdqa xmmword [esp + 0xe0], xmm0
mov eax, dword [esp + 0x40]
xor edi, edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], 0xf98
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xe0]
push edx
push edi
push 0x1c
push edi
push eax
call fcn.10112af4
mov ebx, 0
mov edx, 0
test al, al
je 0x1012dde9
mov ebx, dword [esp + 0xe4]
mov edx, dword [esp + 0xe8]
jmp 0x1012dde9
cmp dword [0x101bee4c], 2
jg 0x1012e204
mov edi, eax
lea esi, [esp + 0xe0]
mov ecx, esi
push 2
push 0x7f
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.100661d0
mov dword [esp + 0xe0], 0x1019c100
mov dword [esp + 0x184], edi
push 0xc
push str.NtOpenThread
lea eax, [esp + 0xf0]
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, esi
call fcn.10125314
jmp 0x1012e204
mov byte [esp + 0x10], dl
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1012dcae
mov edi, eax
mov al, byte [esp + 0x10]
test al, al
je 0x1012dcea
test edi, edi
jne 0x1012dcea
xor edi, edi
cmp dword [0x101bee4c], 1
jg 0x1012dcef
cmp dword [0x101bac40], 0
je 0x1012dcef
mov dword [esp], esi
lea esi, [esp + 0xe0]
mov ecx, esi
push 1
push 0xa0
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.100661d0
push 7
push str.Thread
lea eax, [esp + 0xf0]
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, eax
push dword [esp + 0xa4]
push dword [esp + 0xa4]
call fcn.10031620
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, eax
push 0
call fcn.10031200
mov ecx, esi
mov esi, dword [esp]
call fcn.10066600
jmp 0x1012dcef
cmp dword [0x101bee4c], 2
jg 0x1012e1fb
mov edi, eax
mov ebx, esi
lea esi, [esp + 0xe0]
mov ecx, esi
push 2
push 0x1aa
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.100661d0
mov dword [esp + 0xe0], 0x1019c100
mov dword [esp + 0x184], edi
push 0x18
push str.NtQueryInformationThread
lea eax, [esp + 0xf0]
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, esi
mov esi, ebx
call fcn.10125314
jmp 0x1012e1fb
cmp dword [0x101bee4c], 2
jg 0x1012e1fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, esi
lea esi, [esp + 0xe0]
mov ecx, esi
push eax
push 2
push 0x9b
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.10066f30
push 0xd
push 0x101b086a
jmp 0x1012dd71
movzx eax, al
sub edi, eax
mov dword [esp + 0xc8], edi
lea ecx, [esp + 0x88]
push 0x2cc
call fcn.1003609e
mov byte [esp + 0x84], 1
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov dword [ecx + eax], 0x1003f
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1012dd8f
cmp dword [0x101bee4c], 2
jg 0x1012dd8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, esi
lea esi, [esp + 0xe0]
mov ecx, esi
push eax
push 2
push 0xd7
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.10066f30
push 0x10
push 0x101b07e3
lea eax, [esp + 0xf0]
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, esi
mov esi, edi
call fcn.100670a0
jmp 0x1012e1fb
test eax, eax
je 0x1012e1fb
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x1012da22
cmp dword [0x101bee4c], 2
jg 0x1012e1fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, esi
lea esi, [esp + 0xe0]
mov ecx, esi
push eax
push 2
push 0xbf
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.10066f30
push 0xc
push 0x101b08b5
jmp 0x1012dd71
xor edi, edi
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], edi
cmp ebx, edx
mov eax, edi
sbb eax, edi
jae 0x1012de7a
xor eax, eax
cmp dword [0x101bee4c], 2
mov ecx, 0
jg 0x1012de82
mov dword [esp], esi
lea ecx, [esp + 0xe0]
push 2
push 0x1ca
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov esi, edx
call fcn.100661d0
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0xf0]
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, eax
push edi
push ebx
call fcn.10031620
push 3
push 0x1019ded7
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, eax
push edi
push esi
call fcn.10031620
lea ecx, [esp + 0xe0]
mov esi, dword [esp]
call fcn.10066600
xor eax, eax
xor ecx, ecx
jmp 0x1012de82
sub ebx, edx
sbb edi, edi
mov eax, ebx
mov ecx, edi
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
xor ebx, ebx
mov eax, dword [0x102cf59c]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1012e22b
mov ecx, dword [0x102cf598]
test ecx, ecx
je 0x1012e003
mov dword [esp + 0x3c], 0xffffffff
call dword [section..00cfg]
lea eax, [esp + 0x3c]
push eax
push esi
call ecx
test eax, eax
js 0x1012df65
mov edi, esi
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x1012e27a
push esi
call fcn.10163aa4
add esp, 4
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe8], ebx
lea ecx, [esp + 0xe0]
push ecx
push eax
push esi
call fcn.10078390
add esp, 0xc
cmp byte [esp + 0x9f], 0
jns 0x1012df36
push dword [esp + 0x94]
call fcn.10145bd4
add esp, 4
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0x88]
mov dword [ecx + 0x14], eax
movq xmm0, qword [esp + 0xe0]
movq qword [ecx + 0xc], xmm0
push esi
call fcn.1012fe30
add esp, 4
mov esi, edi
jmp 0x1012e003
cmp dword [0x101bee4c], 1
jg 0x1012e003
cmp dword [0x101bac40], 0
je 0x1012e003
mov edi, eax
mov dword [esp], esi
lea ecx, [esp + 0xe0]
push 1
push 0x1db
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.100661d0
push 0x16
push str.GetThreadDescription:
lea eax, [esp + 0xf0]
push eax
call fcn.10034b83
add esp, 0xc
mov ebx, eax
push edi
lea esi, [esp + 0x34]
push esi
call fcn.10066d30
add esp, 8
movzx eax, byte [esp + 0x3b]
mov ecx, esi
test al, al
jns 0x1012dfd6
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push ebx
call fcn.10034b83
add esp, 0xc
cmp byte [esp + 0x3b], 0
jns 0x1012dff4
push dword [esp + 0x30]
call fcn.10145bd4
add esp, 4
lea ecx, [esp + 0xe0]
call fcn.10066600
mov esi, dword [esp]
mov ebx, dword [esp + 4]
mov edi, dword [ebx + 0xbc]
cmp edi, dword [ebx + 0xc0]
je 0x1012e031
mov ecx, edi
lea edx, [esp + 0x80]
call fcn.1012e2f7
add edi, 0x58
mov dword [ebx + 0xbc], edi
jmp 0x1012e1fb
mov dword [esp], esi
sub edi, dword [ebx + 0xb8]
sar edi, 3
imul edi, edi, 0xba2e8ba3
lea esi, [edi + 1]
cmp esi, 0x2e8ba2f
jae 0x1012e270
lea eax, [edi + edi]
cmp eax, esi
cmova esi, eax
cmp edi, 0x1745d17
mov eax, 0x2e8ba2e
cmovae esi, eax
test esi, esi
je 0x1012e088
cmp esi, 0x2e8ba2f
jae 0x1012e275
imul eax, esi, 0x58
push eax
call fcn.10145ba4
add esp, 4
mov ebx, eax
jmp 0x1012e08a
xor ebx, ebx
imul eax, edi, 0x58
mov dword [esp + 0xc], eax
lea edi, [ebx + eax]
imul esi, esi, 0x58
add esi, ebx
mov ecx, edi
lea edx, [esp + 0x80]
call fcn.1012e2f7
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xc]
lea edx, [ebx + eax]
add edx, 0x58
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xb8]
mov ebx, dword [eax + 0xbc]
mov dword [esp + 0x10], ecx
cmp ebx, ecx
je 0x1012e1d0
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [ecx + edx]
add eax, 0xffffffbc
mov dword [esp + 0x2c], eax
lea eax, [ecx + edx - 0x50]
mov dword [esp + 0xc], eax
lea eax, [ebx - 0x50]
mov dword [esp + 0x14], eax
xor esi, esi
mov al, byte [ebx + esi - 0x54]
mov byte [edi + esi - 0x54], al
mov eax, dword [ebx + esi - 0x58]
mov dword [edi + esi - 0x58], eax
mov eax, dword [esp + 0xc]
lea ecx, [eax + esi]
mov eax, dword [esp + 0x14]
add eax, esi
push eax
call fcn.10038d7a
cmp byte [ebx + esi - 0x39], 0
js 0x1012e140
lea eax, [edi + esi]
add eax, 0xffffffbc
lea ecx, [ebx + esi - 0x44]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
movq xmm0, qword [ecx]
movq qword [eax], xmm0
jmp 0x1012e154
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi]
push dword [ebx + esi - 0x40]
push dword [ebx + esi - 0x44]
call fcn.10055fcc
lea eax, [ebx + esi]
add eax, 0xffffffa8
mov ecx, dword [eax + 0x50]
mov dword [edi + esi - 8], ecx
movups xmm0, xmmword [eax + 0x40]
movups xmmword [edi + esi - 0x18], xmm0
movdqu xmm0, xmmword [eax + 0x20]
movups xmm1, xmmword [eax + 0x30]
movups xmmword [edi + esi - 0x28], xmm1
movdqu xmmword [edi + esi - 0x38], xmm0
add esi, 0xffffffa8
cmp eax, dword [esp + 0x10]
jne 0x1012e0fc
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xb8]
add edi, esi
mov ebx, dword [eax + 0xbc]
mov dword [eax + 0xb8], edi
mov edi, ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc0], ecx
cmp ebx, edi
je 0x1012e1eb
mov esi, dword [esp]
add ebx, 0xffffffa8
mov ecx, ebx
call fcn.1012e2d4
cmp ebx, edi
jne 0x1012e1c0
jmp 0x1012e1ee
mov dword [eax + 0xb8], edi
mov dword [eax + 0xbc], edx
mov dword [eax + 0xc0], esi
mov esi, dword [esp]
mov edi, dword [esp + 0x10]
jmp 0x1012e1ee
mov esi, dword [esp]
test edi, edi
je 0x1012e1fb
push edi
call fcn.10145bd4
add esp, 4
push esi
call fcn.1011e92c
add esp, 4
lea ecx, [esp + 0x80]
call fcn.1012e2d4
mov ebx, dword [esp + 0x18]
inc ebx
mov edx, dword [esp + 0x20]
cmp ebx, dword [edx + 4]
pcmpeqd xmm0, xmm0
jb 0x1012d8ee
jmp 0x1012d8b9
push 0x102cf59c
call fcn.10145c47
add esp, 4
cmp dword [0x102cf59c], 0xffffffff
jne 0x1012deb3
push 0
push str.::GetThreadDescription
push 0x1019e09e
call fcn.1012227c
add esp, 0xc
mov dword [0x102cf598], eax
push 0x102cf59c
call fcn.10145cbd
add esp, 4
jmp 0x1012deb3
call fcn.1015b4f0
call fcn.10034a48
int3