Function at 0x4db608
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x440
mov eax, dword [0x591128]
xor eax, ebp
mov dword [esp + 0x438], eax
mov dword [esp + 0x10], ecx
mov eax, dword [ecx]
mov dword [esp + 8], eax
lea eax, [esp + 0x80]
mov dword [eax], 0xffffffff
mov esi, 0x4000
mov ebx, 0x14
push 0x4000
call fcn.0050f413
add esp, 4
lea ecx, [esp + 0x80]
push ecx
push esi
mov dword [esp + 0x1c], eax
push eax
push 5
call fcn.004d05b0
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x4db680
cmp edi, 0xc0000004
jne 0x4db71c
mov esi, dword [esp + 0x80]
mov eax, 0x1000
add esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4db69f
push eax
call fcn.0050f41c
add esp, 4
push esi
call fcn.0050f413
add esp, 4
dec ebx
jne 0x4db653
mov dword [esp + 0x14], eax
push 2
call fcn.0042ba80
add esp, 4
test al, al
je 0x4db6f3
lea ebx, [esp + 0x130]
mov ecx, ebx
push edi
push 2
push 0x5a
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004d0910
lea eax, [esp + 0x138]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, ebx
call fcn.004d093c
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4db704
push ecx
call fcn.0050f41c
add esp, 4
mov ecx, dword [esp + 0x438]
xor ecx, ebp
call fcn.0050f421
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test edi, edi
js 0x4db7a8
push dword [esp + 8]
call dword [0x58b2a0]
mov edi, eax
mov ecx, dword [esp + 0x14]
mov ebx, ecx
cmp dword [ebx + 0x44], edi
je 0x4db7b1
mov eax, dword [ebx]
add ebx, eax
test eax, eax
cmove ebx, eax
test ebx, ebx
jne 0x4db736
push 2
call fcn.0042ba80
add esp, 4
test al, al
je 0x4db6f3
lea ebx, [esp + 0x130]
mov ecx, ebx
push 2
push 0x6c
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0042bb10
lea eax, [esp + 0x138]
push 8
push str.process
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, eax
push edi
call fcn.0040ae80
push 0xa
push str._not_found
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, ebx
call fcn.0042bf20
jmp 0x4db6f3
mov eax, dword [esp + 0x14]
jmp 0x4db6ab
test ebx, ebx
je 0x4db6f7
cmp dword [ebx + 4], 0
je 0x4db6f7
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 0x58]
mov dword [esp + 0x20], eax
lea eax, [ecx + 0xb8]
mov dword [esp + 0x1c], eax
pcmpeqd xmm0, xmm0
lea eax, [ecx + 0xc4]
mov dword [esp + 0x28], eax
xor edi, edi
xor esi, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 8], esi
lea esi, [esp + 0x400]
movdqu xmmword [esi + 0x28], xmm0
movdqu xmmword [esi + 0x18], xmm0
movdqu xmmword [esi + 8], xmm0
movdqu xmmword [esi - 8], xmm0
push 0x2cc
push edi
lea eax, [esp + 0x138]
push eax
call fcn.00512f00
add esp, 0xc
pxor xmm0, xmm0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], edi
mov esi, dword [esp + 8]
mov eax, esi
shl eax, 6
mov dword [esp + 0xc], eax
add eax, ebx
add eax, 0xd8
mov ecx, dword [eax + 4]
mov dword [esp + 0x400], ecx
mov dword [esp + 0x404], edi
xor ecx, ecx
dec ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x50], 0x18
lea ecx, [esp + 0x54]
mov dword [ecx + 0x10], edi
movdqu xmmword [ecx], xmm0
push eax
lea eax, [esp + 0x54]
push eax
push 0x4a
lea eax, [esp + 0x3c]
push eax
call fcn.004d088c
add esp, 0x10
test eax, eax
js 0x4db8a4
mov edx, dword [esp + 0x30]
xor edi, edi
jmp 0x4db8f2
mov edi, eax
push 2
call fcn.0042ba80
add esp, 4
test al, al
je 0x4db8ee
lea esi, [esp + 0x80]
mov ecx, esi
push edi
push 2
push 0x7b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004d0910
push 0xc
push str.NtOpenThread
lea eax, [esp + 0x90]
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 8]
call fcn.004d093c
xor edi, edi
xor edx, edx
mov dword [esp + 0x74], 0x54dbd8
mov dword [esp + 0x78], edx
mov byte [esp + 0x7c], 0
test edx, edx
je 0x4dbf34
mov eax, dword [esp + 0x10]
mov al, byte [eax + 0xd0]
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x400]
mov ecx, dword fs:[0x18]
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0x404]
jne 0x4db953
mov dword [esp + 0x428], 0
lea eax, [esp + 0x130]
push eax
call fcn.00510aa0
add esp, 4
jmp 0x4dba8b
mov dword [esp + 0x2c], edx
push edx
call dword [0x58b42c]
mov edi, eax
test eax, eax
je 0x4db9b0
cmp edi, 0xffffffff
jne 0x4dba2f
push 2
call fcn.0042ba80
add esp, 4
test al, al
mov edi, 0
je 0x4dbf34
call fcn.0042c580
lea esi, [esp + 0x80]
mov ecx, esi
push eax
push 2
push 0x97
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0042c720
push 0xd
push 0x5525fd
jmp 0x4dbe89
cmp byte [esp + 0x18], 0
je 0x4dba2f
xor edi, edi
push 1
call fcn.0042ba80
add esp, 4
test al, al
je 0x4dba36
lea esi, [esp + 0x80]
mov ecx, esi
push 1
push 0x9c
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0042bb10
push 7
push str.Thread
lea eax, [esp + 0x90]
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, eax
push dword [esp + 0x404]
push dword [esp + 0x404]
call fcn.0040b240
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, eax
push 0
call fcn.0040ae80
mov ecx, esi
call fcn.0042bf20
jmp 0x4dba36
movzx eax, byte [esp + 0x18]
sub edi, eax
mov dword [esp + 0x428], edi
push 0x2cc
push 0
lea esi, [esp + 0x138]
push esi
call fcn.00512f00
add esp, 0xc
mov dword [esp + 0x130], 0x1003f
push esi
mov esi, dword [esp + 0x30]
push esi
call dword [0x58b2d0]
test eax, eax
je 0x4dbc13
push esi
call dword [0x58b3c8]
test eax, eax
mov edi, 0
mov esi, dword [esp + 8]
je 0x4dbe50
mov dword [esp + 0x42c], 0x20
mov eax, dword [esp + 0xc]
mov eax, dword [ebx + eax + 0xe0]
mov dword [esp + 0x430], 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 dword [esp + 0x88]
call fcn.004d0632
add esp, 0x14
xor edx, edx
test eax, eax
js 0x4dbbbd
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x3c], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40c], edx
mov dword [esp + 0x408], eax
mov dword [esp + 0x414], edx
mov dword [esp + 0x410], 0xf98
mov ecx, dword [esp + 0x20]
lea esi, [esp + 0x30]
push esi
push edx
push 0x1c
push edx
push eax
call fcn.0049fe78
test al, al
je 0x4dbd3b
cmp byte [ebp + 8], 0
mov esi, 0
je 0x4dbc5a
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x8c], xmm0
movdqa xmmword [esp + 0x80], xmm0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40c], esi
mov dword [esp + 0x408], eax
mov dword [esp + 0x414], esi
mov dword [esp + 0x410], 0xf98
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x80]
push edx
push esi
push 0x1c
push esi
push eax
call fcn.0049fe78
movq xmm1, qword [esp + 0x84]
punpckldq xmm1, xmmword [0x53b640]
movzx eax, al
movd xmm0, eax
pshufd xmm0, xmm0, 0x44
psllq xmm0, 0x3f
psrad xmm0, 0x1f
pshufd xmm0, xmm0, 0xf5
pand xmm0, xmm1
jmp 0x4dbc68
mov edi, eax
push 2
call fcn.0042ba80
add esp, 4
test al, al
je 0x4dbf32
lea esi, [esp + 0x80]
mov ecx, esi
push edi
push 2
push 0x15b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004d0910
push 0x18
push str.NtQueryInformationThread
lea eax, [esp + 0x90]
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 8]
call fcn.004d093c
jmp 0x4dbf32
push 2
call fcn.0042ba80
add esp, 4
test al, al
mov edi, 0
mov esi, dword [esp + 8]
je 0x4dbf34
call fcn.0042c580
lea esi, [esp + 0x80]
mov ecx, esi
push eax
push 2
push 0xb6
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0042c720
push 0x10
push 0x552648
jmp 0x4dbe89
movq xmm0, qword [esp + 0x34]
punpckldq xmm0, xmmword [0x53b640]
pshufd xmm1, xmm0, 0xff
movd ecx, xmm1
pshufd xmm1, xmm0, 0xee
movd edx, xmm1
movq qword [esp + 0x418], xmm1
pshufd xmm1, xmm0, 0x55
movd esi, xmm1
movd edi, xmm0
cmp edi, edx
mov eax, esi
sbb eax, ecx
jae 0x4dbd25
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], ecx
push 2
call fcn.0042ba80
add esp, 4
mov ecx, 0
test al, al
mov eax, 0
je 0x4dbd2d
lea ecx, [esp + 0x80]
push 2
push 0x17b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0042bb10
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0x90]
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, eax
push esi
push edi
call fcn.0040b240
push 3
push 0x53bfbf
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, eax
push dword [esp + 0xc]
push dword [esp + 0x1c]
call fcn.0040b240
lea ecx, [esp + 0x80]
call fcn.0042bf20
xor eax, eax
xor ecx, ecx
jmp 0x4dbd2d
sub edi, edx
sbb esi, ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x420], eax
mov dword [esp + 0x424], ecx
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 0xbc]
cmp esi, dword [edi + 0xc0]
je 0x4dbd7a
mov eax, 0x308
push eax
lea eax, [esp + 0x134]
push eax
push esi
call fcn.00512980
add esp, 0xc
mov eax, 0x308
add esi, eax
mov dword [edi + 0xbc], esi
mov esi, dword [esp + 8]
jmp 0x4dbf32
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x80], xmm0
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x1c]
sub esi, dword [eax]
sar esi, 3
imul eax, esi, 0x5f02a3a1
lea ecx, [eax + 1]
cmp ecx, 0x547420
jae 0x4dbf50
lea edx, [eax + eax]
cmp edx, ecx
cmovb edx, ecx
cmp eax, 0x2a3a0f
mov ecx, 0x54741f
cmovae edx, ecx
lea ecx, [esp + 0x80]
push dword [esp + 0x28]
push eax
push edx
call fcn.004dc048
mov edi, dword [esp + 0x88]
mov esi, 0x308
push esi
lea eax, [esp + 0x134]
push eax
push edi
call fcn.00512980
add esp, 0xc
add edi, esi
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xb8]
mov edi, dword [eax + 0xbc]
mov esi, dword [esp + 0x84]
cmp edi, ecx
je 0x4dbea9
mov eax, 0xfffffcf8
add edi, eax
add esi, eax
push 0x308
push edi
push esi
mov ebx, ecx
call fcn.00512980
mov ecx, ebx
add esp, 0xc
cmp ebx, edi
jne 0x4dbe1a
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xb8]
mov edi, dword [ecx + 0xbc]
mov ebx, dword [esp + 0x24]
jmp 0x4dbeaf
push 2
call fcn.0042ba80
add esp, 4
test al, al
je 0x4dbf34
call fcn.0042c580
lea esi, [esp + 0x80]
mov ecx, esi
push eax
push 2
push 0xbc
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0042c720
push 0xc
push 0x552659
lea eax, [esp + 0x90]
push eax
call fcn.00401c3f
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 8]
call fcn.0042c7d0
jmp 0x4dbf34
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xb8], esi
mov dword [esp + 0x84], eax
mov esi, eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 0xbc], eax
mov dword [esp + 0x88], edi
mov eax, dword [ecx + 0xc0]
mov edx, dword [esp + 0x8c]
mov dword [ecx + 0xc0], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x80], esi
mov eax, edi
mov dword [esp + 0xc], esi
sub eax, esi
je 0x4dbf1d
add eax, 0xfffffcf8
shr eax, 3
mov ecx, 0x151d07eb
mul ecx
shr edx, 3
not edx
imul eax, edx, 0x308
add edi, eax
mov dword [esp + 0x88], edi
mov eax, dword [esp + 0xc]
test eax, eax
mov esi, dword [esp + 8]
je 0x4dbf32
push eax
call fcn.0050f3dd
add esp, 4
xor edi, edi
lea ecx, [esp + 0x74]
call fcn.004a91d0
inc esi
cmp esi, dword [ebx + 4]
pcmpeqd xmm0, xmm0
jb 0x4db7ee
jmp 0x4db6f3
mov ecx, dword [esp + 0x1c]
call fcn.0042341c
int3