Function at 0x6141d8
Capabilities:
Resolve function by parsing pe exports
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x430
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0x428], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x70]
mov dword [eax], 0xffffffff
mov ebx, 0x4000
mov esi, 0x14
push 0x4000
call fcn.006417f3
add esp, 4
lea ecx, [esp + 0x70]
push ecx
push ebx
mov dword [esp + 0x18], eax
push eax
push 5
call fcn.005a40fa
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x614246
cmp edi, 0xc0000004
jne 0x614272
mov ebx, dword [esp + 0x70]
mov eax, 0x1000
add ebx, eax
push dword [esp + 0x10]
call fcn.00641805
add esp, 4
push ebx
call fcn.006417f3
add esp, 4
dec esi
jne 0x614220
mov dword [esp + 0x10], eax
jmp 0x61430a
test edi, edi
js 0x61430a
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov ecx, dword [esp + 0x10]
mov esi, ecx
cmp dword [esi + 0x44], edi
je 0x614357
mov eax, dword [esi]
add esi, eax
test eax, eax
cmove esi, eax
test esi, esi
jne 0x61428c
push 2
call fcn.00499940
mov ecx, dword [esp + 0x14]
add esp, 4
test al, al
je 0x61492d
lea esi, [esp + 0x120]
mov ecx, esi
push 2
push 0x6c
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004999e0
lea eax, [esp + 0x128]
push 8
push str.process
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, eax
push edi
call fcn.004779d0
push 0xa
push str._not_found
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, esi
call fcn.00499dc0
jmp 0x614929
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x614929
lea esi, [esp + 0x120]
mov ecx, esi
push edi
push 2
push 0x5a
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.005a43d8
lea eax, [esp + 0x128]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, esi
call fcn.005a4404
jmp 0x614929
cmp dword [esi + 4], 0
je 0x61492d
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x80]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0x108]
mov dword [esp + 0x2c], eax
lea ebx, [esi + 0xd8]
xor edi, edi
xor eax, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
push 0x308
push 0xff
lea esi, [esp + 0x128]
push esi
call fcn.00645dd0
add esp, 0xc
push 0x2cc
push edi
push esi
call fcn.00645dd0
add esp, 0xc
lea eax, [esp + 0x3f0]
pxor xmm0, xmm0
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax + 0x20], xmm0
mov dword [eax + 0x30], edi
mov eax, dword [ebx + 4]
mov dword [esp + 0x3f4], edi
mov dword [esp + 0x3f0], eax
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x50], 0x18
lea eax, [esp + 0x54]
mov dword [eax + 0x10], edi
movdqu xmmword [eax], xmm0
push ebx
lea eax, [esp + 0x54]
push eax
push 0x4a
lea eax, [esp + 0x3c]
push eax
call fcn.005a4078
add esp, 0x10
test eax, eax
js 0x61447e
mov eax, dword [esp + 0x30]
test eax, eax
mov edi, 0
mov esi, dword [esp + 0x20]
je 0x614918
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x14]
mov bl, byte [eax + 0x120]
mov eax, dword [esp + 0x3f0]
mov ecx, dword fs:[0x18]
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0x3f4]
jne 0x6144d4
mov dword [esp + 0x418], 0
lea eax, [esp + 0x120]
push eax
call fcn.00642210
add esp, 4
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x614605
mov edi, eax
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x6144c9
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0x70]
mov ecx, ebx
push edi
push 2
push 0x7b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.005a43d8
push 0xc
push str.NtOpenThread
lea eax, [esp + 0x80]
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, ebx
mov ebx, dword [esp + 0xc]
call fcn.005a4404
xor edi, edi
mov esi, dword [esp + 0x20]
jmp 0x614918
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edi, eax
test eax, eax
je 0x614530
cmp edi, 0xffffffff
jne 0x6145a9
push 2
call fcn.00499940
add esp, 4
test al, al
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
je 0x61490d
call fcn.0049a360
lea edi, [esp + 0x70]
mov ecx, edi
push eax
push 2
push 0x97
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0049a500
push 0xd
push 0x6d3139
jmp 0x6148f2
test bl, bl
je 0x6145a9
xor edi, edi
push 1
call fcn.00499940
add esp, 4
test al, al
je 0x6145ae
lea ebx, [esp + 0x70]
mov ecx, ebx
push 1
push 0x9c
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004999e0
push 7
push str.Thread
lea eax, [esp + 0x80]
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, eax
push dword [esp + 0x3f4]
push dword [esp + 0x3f4]
call fcn.00477d90
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, eax
push 0
call fcn.004779d0
mov ecx, ebx
call fcn.00499dc0
jmp 0x6145ae
movzx eax, bl
sub edi, eax
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x418], edi
push 0x2cc
push 0
lea edi, [esp + 0x128]
push edi
call fcn.00645dd0
add esp, 0xc
mov dword [esp + 0x120], 0x1003f
push edi
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x61476c
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
mov ecx, edi
mov edi, 0
je 0x6148bc
mov dword [esp + 0x41c], 0x20
mov eax, dword [ebx + 8]
mov dword [esp + 0x420], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x5c], xmm0
movdqa xmmword [esp + 0x50], xmm0
push edi
push 0x1c
lea eax, [esp + 0x58]
push eax
push edi
push ecx
call fcn.005a417c
add esp, 0x14
xor edx, edx
test eax, eax
js 0x61470f
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x3c], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3fc], edx
mov dword [esp + 0x3f8], eax
mov dword [esp + 0x404], edx
mov dword [esp + 0x400], 0xf98
mov ecx, dword [esp + 0x1c]
lea edi, [esp + 0x30]
push edi
push edx
push 0x1c
push edx
push eax
call fcn.005fa528
test al, al
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 8]
je 0x614869
cmp byte [ebp + 8], 0
je 0x6147a9
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x7c], xmm0
movdqa xmmword [esp + 0x70], xmm0
mov eax, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x3fc], edi
mov dword [esp + 0x3f8], eax
mov dword [esp + 0x404], edi
mov dword [esp + 0x400], 0xf98
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x70]
push edx
push edi
push 0x1c
push edi
push eax
call fcn.005fa528
mov ebx, 0
mov ecx, 0
test al, al
je 0x6147b3
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
jmp 0x6147b3
mov edi, eax
push 2
call fcn.00499940
add esp, 4
test al, al
mov ecx, dword [esp + 8]
je 0x61490d
lea ebx, [esp + 0x70]
mov ecx, ebx
push edi
push 2
push 0x15b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.005a43d8
push 0x18
push str.NtQueryInformationThread
lea eax, [esp + 0x80]
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, ebx
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
call fcn.005a4404
mov ecx, edi
jmp 0x61490d
push 2
call fcn.00499940
add esp, 4
test al, al
mov ecx, edi
je 0x61490d
call fcn.0049a360
lea edi, [esp + 0x70]
mov ecx, edi
push eax
push 2
push 0xb6
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0049a500
push 0x10
push 0x6d3184
jmp 0x6148f2
xor edi, edi
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x408], ecx
mov dword [esp + 0x40c], edi
cmp ebx, ecx
mov eax, edi
sbb eax, edi
jae 0x61484d
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
xor ebx, ebx
push 2
call fcn.00499940
add esp, 4
mov ecx, 0
test al, al
je 0x614853
lea ebx, [esp + 0x70]
mov ecx, ebx
push 2
push 0x17b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004999e0
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0x80]
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x28]
call fcn.00477d90
push 3
push 0x6784ad
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x2c]
call fcn.00477d90
mov ecx, ebx
call fcn.00499dc0
xor ebx, ebx
xor ecx, ecx
jmp 0x614853
sub ebx, ecx
sbb edi, edi
mov ecx, edi
mov dword [esp + 0x410], ebx
mov dword [esp + 0x414], ecx
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 8]
mov edi, dword [ebx + 0x10c]
cmp edi, dword [ebx + 0x110]
je 0x6148a1
mov eax, 0x308
push eax
lea eax, [esp + 0x124]
push eax
push edi
call fcn.006452d0
add esp, 0xc
mov eax, 0x308
add edi, eax
mov ecx, dword [esp + 8]
mov dword [ebx + 0x10c], edi
jmp 0x6148b6
mov edi, eax
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x120]
push eax
call fcn.00614a3c
mov ecx, edi
mov ebx, dword [esp + 0xc]
jmp 0x61490d
push 2
call fcn.00499940
mov ecx, dword [esp + 0xc]
add esp, 4
test al, al
je 0x61490d
call fcn.0049a360
lea edi, [esp + 0x70]
mov ecx, edi
push eax
push 2
push 0xbc
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0049a500
push 0xc
push 0x6d3195
lea eax, [esp + 0x80]
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, edi
call fcn.0049a5b0
mov ecx, dword [esp + 8]
push ecx
call fcn.005a08fe
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x18]
inc eax
add ebx, 0x40
cmp eax, dword [esi + 4]
jb 0x614387
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00641805
add esp, 4
mov ecx, dword [esp + 0x428]
xor ecx, ebp
call fcn.0064180a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4