Function at 0x738320
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 [0x808040]
xor eax, ebp
mov dword [esp + 0x188], eax
mov dword [esp + 0x18], ecx
mov eax, dword [ecx]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x80]
mov dword [eax], 0xffffffff
mov esi, 0x4000
mov ebx, 0x14
push 0x4000
call fcn.005c57f3
add esp, 4
jmp 0x738398
mov esi, dword [esp + 0x80]
mov eax, 0x1000
add esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x73838c
push eax
call fcn.005c57fc
add esp, 4
push esi
call fcn.005c57f3
add esp, 4
dec ebx
je 0x738401
lea ecx, [esp + 0x80]
push ecx
push esi
mov dword [esp + 0x1c], eax
push eax
push 5
call fcn.006d4350
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x73836d
cmp edi, 0xc0000004
je 0x73836d
test edi, edi
js 0x7383fd
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov ecx, dword [esp + 0x14]
mov ebx, ecx
cmp dword [ebx + 0x44], edi
je 0x738472
mov eax, dword [ebx]
test eax, eax
je 0x7383ea
add ebx, eax
jne 0x7383d7
push 2
call fcn.0055f440
add esp, 4
test al, al
je 0x738449
jmp 0x7384a3
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
push 2
call fcn.0055f440
add esp, 4
test al, al
je 0x738449
lea ebx, [esp + 0xe0]
mov ecx, ebx
push edi
push 2
push 0x5f
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.006d4680
lea eax, [esp + 0xe8]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, ebx
call fcn.006d46b0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x73845a
push ecx
call fcn.005c57fc
add esp, 4
mov ecx, dword [esp + 0x188]
xor ecx, ebp
call fcn.005c6b46
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test ebx, ebx
je 0x73844d
cmp dword [ebx + 4], 0
je 0x73844d
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0x58]
mov dword [esp + 0x24], ecx
add eax, 0xb8
mov dword [esp + 0x2c], eax
pcmpeqd xmm0, xmm0
lea ecx, [ebx + 0xd8]
xor edx, edx
xor esi, esi
jmp 0x73878d
lea ebx, [esp + 0xe0]
mov ecx, ebx
push 2
push 0x71
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004ba430
lea eax, [esp + 0xe8]
push 8
push str.process
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, eax
push edi
call fcn.004114c0
push 0xa
push str._not_found
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, ebx
call fcn.004ba910
jmp 0x738449
xor edi, edi
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], esi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edi
cmp edx, ecx
mov eax, edi
sbb eax, edi
jae 0x7385a0
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ecx
xor esi, esi
push 2
call fcn.0055f440
add esp, 4
mov ecx, 0
test al, al
je 0x7385a8
lea esi, [esp + 0xe0]
mov ecx, esi
push 2
push 0x1cb
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004ba430
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0xf0]
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x2c]
call fcn.00411710
push 3
push 0x7ada98
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x24]
call fcn.00411710
mov ecx, esi
call fcn.004ba910
xor esi, esi
xor ecx, ecx
jmp 0x7385a8
sub edx, ecx
sbb edi, edi
mov esi, edx
mov ecx, edi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], ecx
mov esi, dword [esp + 0xc]
mov eax, dword [0x81fcac]
mov ecx, dword [0x80d580]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x738bd1
mov ecx, dword [0x81fca8]
test ecx, ecx
je 0x738715
mov dword [esp + 0x3c], 0xffffffff
call dword [0x8010bc]
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x14]
call ecx
test eax, eax
jns 0x7386a5
mov edi, eax
push 1
call fcn.0055f440
add esp, 4
test al, al
je 0x738715
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xe0]
push 1
push 0x1dc
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004ba430
push 0x16
push str.GetThreadDescription:
lea eax, [esp + 0xf0]
push eax
call fcn.00533f70
add esp, 0xc
mov dword [esp + 0x20], eax
push edi
lea esi, [esp + 0x34]
push esi
call fcn.004baeb0
add esp, 8
movsx eax, byte [esp + 0x3b]
mov ecx, esi
test eax, eax
jns 0x738676
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push dword [esp + 0x28]
call fcn.00533f70
add esp, 0xc
cmp byte [esp + 0x3b], 0
jns 0x738697
push dword [esp + 0x30]
call fcn.005c57c0
add esp, 4
lea ecx, [esp + 0xe0]
call fcn.004ba910
jmp 0x738711
mov dword [esp + 0xc], esi
lea edi, [esp + 0x88]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x738bcf
push esi
call fcn.005e20d4
add esp, 4
push eax
push esi
lea eax, [esp + 0xe8]
push eax
call fcn.005559f0
add esp, 0xc
cmp byte [esp + 0x9f], 0
jns 0x7386f0
push dword [esp + 0x94]
call fcn.005c57c0
add esp, 4
mov eax, dword [esp + 0xe8]
mov dword [edi + 0x14], eax
movq xmm0, qword [esp + 0xe0]
movq qword [edi + 0xc], xmm0
push esi
call fcn.005124d0
add esp, 4
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0xbc]
cmp edi, dword [eax + 0xc0]
jb 0x73873c
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x80]
push eax
call fcn.00738db0
mov edi, eax
jmp 0x738750
lea eax, [esp + 0x80]
push eax
push edi
call fcn.00738ec0
add esp, 8
add edi, 0x58
mov eax, dword [esp + 0x18]
mov dword [eax + 0xbc], edi
mov edi, dword [esp + 0x10]
push edi
call fcn.004f7e30
add esp, 4
lea ecx, [esp + 0x80]
call fcn.00738d70
inc esi
mov ecx, dword [esp + 0x1c]
add ecx, 0x40
cmp esi, dword [ebx + 4]
pcmpeqd xmm0, xmm0
mov edx, 0
jae 0x738449
movdqa xmmword [esp + 0x80], xmm0
xor edi, edi
dec edi
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], edi
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
mov dword [esp + 0x80], edx
mov byte [esp + 0x84], 0
pxor xmm0, xmm0
lea eax, [esp + 0x88]
movdqu xmmword [eax + 0x3c], xmm0
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
mov eax, dword [ecx + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], 0x18
lea eax, [esp + 0x64]
mov dword [eax + 0x10], edx
movdqu xmmword [eax], xmm0
mov dword [esp + 0x1c], ecx
push ecx
lea eax, [esp + 0x64]
push eax
push 0x4a
lea eax, [esp + 0x4c]
push eax
call fcn.006d42c0
add esp, 0x10
test eax, eax
jns 0x73889c
mov edi, eax
push 2
call fcn.0055f440
add esp, 4
test al, al
je 0x738767
mov dword [esp + 0xc], esi
lea esi, [esp + 0xe0]
mov ecx, esi
push edi
push 2
push 0x80
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.006d4680
push 0xc
push str.NtOpenThread
lea eax, [esp + 0xf0]
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 0xc]
call fcn.006d46b0
jmp 0x738767
mov edi, dword [esp + 0x40]
test edi, edi
je 0x738767
mov eax, dword [esp + 0x18]
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]
je 0x738941
mov byte [esp + 0xc], dl
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x738ac9
push 2
call fcn.0055f440
add esp, 4
test al, al
je 0x73875e
call fcn.00642ea0
mov dword [esp + 0x10], edi
mov edi, esi
lea esi, [esp + 0xe0]
mov ecx, esi
push eax
push 2
push 0x9c
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00642eb0
push 0xd
push 0x7adb04
lea eax, [esp + 0xf0]
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, esi
mov esi, edi
mov edi, dword [esp + 0x10]
call fcn.00642f10
jmp 0x73875e
mov dword [esp + 0xc8], 0
lea ecx, [esp + 0x80]
call fcn.00737ee0
mov dword [esp + 0xcc], 0x20
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [esp + 0xd0], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x6c], xmm0
movdqa xmmword [esp + 0x60], xmm0
xor ecx, ecx
push ecx
push 0x1c
lea eax, [esp + 0x68]
push eax
push ecx
mov dword [esp + 0x20], edi
push edi
call fcn.006d43e0
add esp, 0x14
test eax, eax
jns 0x7389f7
mov edi, eax
push 2
call fcn.0055f440
add esp, 4
test al, al
je 0x73875a
mov dword [esp + 0xc], esi
lea esi, [esp + 0xe0]
mov ecx, esi
push edi
push 2
push 0x1ab
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.006d4680
push 0x18
push str.NtQueryInformationThread
lea eax, [esp + 0xf0]
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 0xc]
call fcn.006d46b0
jmp 0x73875a
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x4c], xmm0
movdqa xmmword [esp + 0x40], xmm0
mov eax, dword [esp + 0x64]
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 + 0x24]
lea edx, [esp + 0x40]
push edx
push edi
push 0x1c
push edi
push eax
call fcn.00738ff0
test al, al
je 0x7385ba
cmp byte [ebp + 8], 0
je 0x7384f5
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 + 0x24]
lea edx, [esp + 0xe0]
push edx
push edi
push 0x1c
push edi
push eax
call fcn.00738ff0
mov edx, 0
mov ecx, 0
test al, al
je 0x7384ff
mov edx, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
jmp 0x7384ff
mov ch, byte [esp + 0xc]
mov dl, ch
xor dl, 1
test eax, eax
setne cl
or cl, dl
je 0x738ae2
movzx ecx, ch
sub eax, ecx
jmp 0x738b60
push 1
call fcn.0055f440
add esp, 4
test al, al
je 0x738b5e
mov dword [esp + 0x10], edi
lea edi, [esp + 0xe0]
mov ecx, edi
push 1
push 0xa1
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004ba430
push 7
push str.Thread
lea eax, [esp + 0xf0]
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, eax
push dword [esp + 0xa4]
push dword [esp + 0xa4]
call fcn.00411710
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, eax
push 0
call fcn.004114c0
mov ecx, edi
mov edi, dword [esp + 0x10]
call fcn.004ba910
xor eax, eax
mov dword [esp + 0xc8], eax
lea ecx, [esp + 0x80]
push edi
call fcn.00737f40
test al, al
je 0x73875e
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x738958
push 2
call fcn.0055f440
add esp, 4
test al, al
je 0x73875e
call fcn.00642ea0
mov dword [esp + 0x10], edi
mov edi, esi
lea esi, [esp + 0xe0]
mov ecx, esi
push eax
push 2
push 0xc0
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00642eb0
push 0xc
push 0x7adb4f
jmp 0x73891f
ud2
push 0x81fcac
call fcn.005c580d
add esp, 4
cmp dword [0x81fcac], 0xffffffff
jne 0x7385db
push 0
push str.::GetThreadDescription
push 0x77caae
call fcn.004f87a0
add esp, 0xc
mov dword [0x81fca8], eax
push 0x81fcac
call fcn.005c5887
add esp, 4
jmp 0x7385db