Function at 0x450980
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xe0
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xe0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str..pipecrashpad__lu_
push edi
call fcn.00528450
add esp, 0xc
mov ebx, 0xfffffffc
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xdc], ebx
lea eax, [ebp - 0x34]
push eax
call fcn.00451270
add esp, 4
movsx ebx, byte [ebp - 0x11]
test ebx, ebx
cmovs ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
cmovns esi, edi
test ebx, ebx
sete al
test esi, esi
setne cl
or cl, al
je 0x450fb3
movsx ecx, byte [ebp - 0x29]
mov eax, dword [ebp - 0x2c]
mov edx, 0x7fffffff
and eax, edx
dec eax
test ecx, ecx
mov edi, dword [ebp - 0x30]
cmovns edi, ecx
mov edx, 0xa
cmovns eax, edx
mov edx, eax
sub edx, edi
cmp edx, ebx
jb 0x450abb
mov dword [ebp - 0xe4], edi
test ebx, ebx
lea edi, [ebp - 0x1c]
je 0x450ad4
lea eax, [ebp - 0x34]
test cl, cl
mov edi, dword [ebp - 0xe4]
jns 0x450a4f
mov eax, dword [ebp - 0x34]
test edi, edi
mov dword [ebp - 0xe8], eax
je 0x450a8e
lea edx, [eax + edi]
xor eax, eax
mov ecx, ebx
cmp edx, esi
ja 0x450a66
xor ecx, ecx
mov edi, dword [ebp - 0xe8]
cmp edi, esi
cmovbe eax, ecx
add esi, eax
lea eax, [edi + ebx]
push dword [ebp - 0xe4]
push edi
push eax
call fcn.00567460
mov eax, edi
mov edi, dword [ebp - 0xe4]
add esp, 0xc
push ebx
push esi
push eax
call fcn.00567460
add esp, 0xc
add edi, ebx
cmp byte [ebp - 0x29], 0
jns 0x450ab0
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0xe8]
mov byte [eax + edi], 0
jmp 0x450ad1
mov ecx, edi
mov eax, ecx
and al, 0x7f
mov byte [ebp - 0x29], al
jmp 0x450aa4
lea edx, [edi + ebx]
sub edx, eax
lea ecx, [ebp - 0x34]
push esi
push ebx
xor esi, esi
push esi
push esi
push edi
push edx
push eax
call fcn.004072a0
lea edi, [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
movsd xmm0, qword [ebp - 0x34]
movsd qword [ebp - 0x28], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
movsx eax, byte [ebp - 0x1d]
test eax, eax
cmovs eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovns ecx, edx
test eax, eax
js 0x450fb6
sete dl
test ecx, ecx
setne dh
or dh, dl
mov esi, dword [ebp - 0xec]
je 0x450fb9
push eax
push ecx
lea eax, [ebp - 0xd4]
push eax
call fcn.00528780
add esp, 0xc
cmp byte [esi + 0xb], 0
js 0x450fc5
mov eax, dword [ebp - 0xcc]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0xd4]
movsd qword [esi], xmm0
mov byte [ebp - 0xc9], 0
mov word [ebp - 0xd4], 0
cmp byte [ebp - 0x1d], 0
jns 0x450b75
push dword [ebp - 0x28]
call fcn.00562f60
add esp, 4
cmp byte [ebp - 0x29], 0
mov ebx, dword [ebp - 0xdc]
js 0x450fd4
push 1
push esi
call fcn.0041def0
add esp, 8
cmp eax, 0xffffffff
setne dl
test ebx, ebx
sete cl
or cl, dl
inc ebx
cmp cl, 1
jne 0x4509cf
mov dword [ebp - 0xdc], eax
cmp eax, 0xffffffff
je 0x45101b
mov ebx, edi
cmp byte [ebp - 0x11], 0
jns 0x450bc9
push dword [ebp - 0x1c]
call fcn.00562f60
add esp, 4
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push edi
push ebx
call esi
mov dword [0x647174], eax
push edi
push edi
push edi
push ebx
call esi
mov dword [0x64717c], eax
push edi
push edi
push edi
push ebx
call esi
mov dword [0x647180], eax
push 0x657ca0
call fcn.004510f0
add esp, 4
push 4
call fcn.00562f65
add esp, 4
mov dword [eax], edi
mov dword [0x657cb8], eax
push fcn.005d83f0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x4f4920
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov edi, eax
mov esi, dword [ebp - 0xec]
mov eax, dword [esi + 0x1c]
test eax, eax
setne cl
cmp eax, edi
sete dl
and dl, cl
cmp dl, 1
je 0x450fae
test eax, eax
jne 0x450fe4
mov dword [esi + 0x1c], edi
push 0x5d8510
push 0x16
call fcn.005651ca
add esp, 8
push 0x6c
call fcn.00562f65
add esp, 4
mov esi, eax
mov dword [ebp - 0xe8], esp
sub esp, 0x2c
mov ecx, esp
mov dword [ecx + 0x20], 0x621f14
mov eax, dword [ebp - 0xdc]
mov dword [ecx + 0x24], eax
mov byte [ecx + 0x28], 0
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 0x10]
mov dword [ecx + 8], eax
mov ebx, dword [ebp + 0x14]
mov dword [ecx + 0xc], ebx
mov edi, dword [ebp + 0x18]
mov dword [ecx + 0x10], edi
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 0x28]
mov dword [ecx + 0x18], eax
mov dword [ebp - 0xe4], ecx
mov eax, dword [ebp - 0xec]
mov dword [ecx + 0x1c], eax
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0xb], 0
jns 0x450e0b
mov ecx, esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00543180
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0xc]
cmp byte [edx + 0xb], 0
jns 0x450e1e
push dword [edx + 4]
push dword [edx]
call fcn.00543180
lea ecx, [esi + 0x18]
mov edx, dword [ebp + 0x10]
cmp byte [edx + 0xb], 0
jns 0x450e31
push dword [edx + 4]
push dword [edx]
call fcn.00543180
lea ecx, [esi + 0x24]
mov edx, dword [ebp + 0x14]
cmp byte [edx + 0xb], 0
jns 0x450ff5
push dword [edx + 4]
push dword [edx]
call fcn.004feb70
mov edx, esi
add esi, 0x34
xor eax, eax
mov dword [edx + 0x34], eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x30], esi
mov ebx, dword [edi]
add edi, 4
cmp ebx, edi
mov dword [ebp - 0xdc], edx
je 0x450daf
lea eax, [edx + 0x30]
mov dword [ebp - 0xe0], eax
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0xe0]
push eax
push eax
push esi
lea eax, [ebp - 0xd4]
push eax
call fcn.0040d7f0
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x450e44
mov eax, dword [ebx + 8]
cmp dword [eax], ebx
mov ebx, eax
jne 0x450d89
mov ebx, eax
cmp eax, edi
jne 0x450d66
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xdc]
xor eax, eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0xe0]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [ebp - 0xe0], edi
sub edi, esi
je 0x450ea2
mov eax, edi
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 0x15555556
jae 0x450fc2
push edi
call fcn.00562f65
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 0xdc]
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x40], eax
add eax, edi
mov dword [ecx + 0x44], eax
mov edi, dword [ebp - 0xe0]
jmp 0x450e68
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
movsd xmm0, qword [ebx]
movsd qword [esi], xmm0
jmp 0x450cf3
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [edx]
movsd qword [ecx], xmm0
jmp 0x450d0a
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [edx]
movsd qword [ecx], xmm0
jmp 0x450d24
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x450d92
jmp 0x450e44
mov ecx, ebx
push dword [esi + 4]
push dword [esi]
call fcn.004feb70
add esi, 0xc
add ebx, 0xc
cmp esi, edi
je 0x450e99
test ebx, ebx
je 0x450fab
cmp byte [esi + 0xb], 0
js 0x450e52
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
movsd xmm0, qword [esi]
movsd qword [ebx], xmm0
jmp 0x450e5e
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
movsd xmm0, qword [esi]
movsd qword [ebx], xmm0
jmp 0x450f1b
mov edx, dword [ebp - 0xdc]
mov dword [edx + 0x40], ebx
mov ebx, dword [ebp - 0xe4]
mov eax, dword [ebx + 0x18]
xor ecx, ecx
mov dword [edx + 0x48], ecx
mov dword [edx + 0x4c], ecx
mov dword [edx + 0x50], ecx
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [ebp - 0xe0], edi
sub edi, esi
je 0x450f34
mov eax, edi
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 0x15555556
jae 0x450ff2
push edi
call fcn.00562f65
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 0xdc]
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], eax
add eax, edi
mov dword [ecx + 0x50], eax
mov edi, dword [ebp - 0xe0]
test ebx, ebx
je 0x450fbc
cmp byte [esi + 0xb], 0
jns 0x450e86
mov ecx, ebx
push dword [esi + 4]
push dword [esi]
call fcn.00543180
add esi, 0xc
add ebx, 0xc
cmp esi, edi
jne 0x450efd
mov edx, dword [ebp - 0xdc]
mov dword [edx + 0x4c], ebx
mov ebx, dword [ebp - 0xe4]
mov ecx, edx
add ecx, 0x54
mov eax, dword [ebx + 0x1c]
cmp byte [eax + 0xb], 0
mov esi, edx
jns 0x451008
push dword [eax + 4]
push dword [eax]
call fcn.00543180
mov eax, 0x621f14
mov dword [esi + 0x60], eax
mov ecx, dword [ebx + 0x24]
mov dword [ebx + 0x24], 0xffffffff
mov dword [esi + 0x64], ecx
mov byte [esi + 0x68], 0
mov dword [ebx + 0x20], eax
cmp byte [ebx + 0x28], 1
je 0x450fbf
mov esp, dword [ebp - 0xe8]
cmp byte [ebp + 0x24], 0
jne 0x45105e
mov dword [ebp - 0xd8], esi
push esi
call fcn.00451700
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00566245
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x24
int3
call fcn.0057778c
int3
int3
int3
int3
int3
int3
push dword [esi]
call fcn.00562f60
add esp, 4
jmp 0x450b3f
push dword [ebp - 0x34]
call fcn.00562f60
add esp, 4
jmp 0x450b85
push eax
call fcn.005e5380
add esp, 4
jmp 0x450c62
int3
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [edx]
movsd qword [ecx], xmm0
jmp 0x450d3e
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x450f52
push 0x145
push str.crashpad_client_win.cc
push str.CreatePipe
lea esi, [ebp - 0xd4]
push esi
call fcn.0050b5e0
add esp, 0x10
push esi
lea esi, [ebp - 0x28]
push esi
call fcn.005bb200
add esp, 8
mov ecx, esi
push str.CreateNamedPipe
call fcn.005d7b80
mov ecx, esi
call fcn.005907d0
jmp 0x450bb6
mov edi, dword [ebp - 0xec]
lea ebx, [edi + 0xc]
mov eax, esi
xor esi, esi
push esi
push esi
push eax
push 0x5d83a0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea edx, [ebp - 0xd4]
mov dword [edx], eax
mov ecx, ebx
call fcn.004f48d0
mov bl, 1
cmp dword [edi + 0x10], esi
jne 0x450f95
cmp dword [0x64a79c], 2
jg 0x4510da
call fcn.004f27a0
lea esi, [ebp - 0xd4]
mov ecx, esi
push eax
push 2
push 0x293
push str.crashpad_client_win.cc
call fcn.00417d50
lea eax, [ebp - 0xcc]
push 0xc
push 0x637650
push eax
call fcn.00538270
add esp, 0xc
mov ecx, esi
call fcn.00416650
mov dword [0x657cbc], 2
xor ebx, ebx
jmp 0x450f95