Function at 0x475170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xf4
mov dword [ebp - 0xe8], ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea esi, [ebp - 0xe0]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str..pipecrashpad__lu_
push esi
call fcn.004d8710
add esp, 0xc
mov esi, 0xfffffffc
xor ebx, ebx
lea edi, [ebp - 0x38]
push edi
call fcn.00492b70
add esp, 4
movzx eax, byte [ebp - 0xd5]
mov edx, eax
and edx, 0x7f
test al, al
cmovs edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
cmovns eax, ecx
mov ecx, edi
push edx
push eax
push ebx
call fcn.004cca70
mov ecx, dword [eax + 8]
mov dword [ebp - 0x24], ecx
movsd xmm0, qword [eax]
movsd qword [ebp - 0x2c], xmm0
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
movzx eax, byte [ebp - 0x21]
test al, al
jns 0x47521a
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
jmp 0x475220
and eax, 0x7f
lea ecx, [ebp - 0x2c]
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call fcn.00460850
add esp, 0xc
mov ecx, dword [ebp - 0xe8]
cmp byte [ecx + 0xb], 0
jns 0x47524a
push dword [ecx]
call fcn.0050d52e
mov ecx, dword [ebp - 0xe8]
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x20]
movsd qword [ecx], xmm0
mov byte [ebp - 0x15], 0
mov word [ebp - 0x20], 0
cmp byte [ebp - 0x21], 0
jns 0x47527a
push dword [ebp - 0x2c]
call fcn.0050d52e
mov ecx, dword [ebp - 0xe8]
add esp, 4
cmp byte [ebp - 0x2d], 0
jns 0x475291
push dword [ebp - 0x38]
call fcn.0050d52e
mov ecx, dword [ebp - 0xe8]
add esp, 4
push 1
push ecx
call fcn.00491b40
add esp, 8
cmp eax, 0xffffffff
jne 0x4752ae
lea ecx, [esi + 1]
test esi, esi
mov esi, ecx
jne 0x4751b9
mov dword [ebp - 0xf8], eax
cmp eax, 0xffffffff
je 0x4755e9
cmp byte [ebp - 0xd5], 0
jns 0x4752d4
push dword [ebp - 0xe0]
call fcn.0050d52e
add esp, 4
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x18], 1
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push esi
push esi
lea edi, [ebp - 0x20]
push edi
call ebx
mov dword [0x5f5ca4], eax
push esi
push esi
push esi
push edi
call ebx
mov dword [0x5f5cac], eax
push esi
push esi
push esi
push edi
call ebx
mov dword [0x5f5cb0], eax
push 0x604bec
call fcn.00492dd0
add esp, 4
push 4
call fcn.0050d4fe
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.004dfa00
mov dword [0x604c04], esi
push fcn.00565fe0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x566140
push 0x16
call fcn.00529aa3
add esp, 8
push pe_nt_image_headers32
call fcn.0050d4fe
add esp, 4
mov edi, eax
mov esi, esp
mov ecx, eax
push dword [ebp + 8]
call fcn.004cecd0
lea ecx, [edi + 0xc]
push dword [ebp + 0xc]
call fcn.004cecd0
lea ecx, [edi + 0x18]
push dword [ebp + 0x10]
call fcn.004cecd0
lea ecx, [edi + 0x24]
push dword [ebp + 0x14]
call fcn.004cecd0
lea ecx, [edi + 0x30]
mov edx, dword [ebp + 0x18]
cmp byte [edx + 0xb], 0
mov dword [ebp - 0xf4], esi
js 0x47558a
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [edx]
movsd qword [ecx], xmm0
lea ecx, [edi + 0x40]
xor eax, eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [ebp - 0xfc], ecx
mov dword [edi + 0x3c], ecx
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
add eax, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x100], eax
cmp esi, eax
je 0x475492
lea eax, [edi + 0x3c]
mov dword [ebp - 0xec], eax
mov ebx, dword [ebp - 0xec]
add esi, 0x10
xor eax, eax
dec eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0xec]
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xfc]
call fcn.005661e0
mov dword [ebp - 0xf0], eax
cmp dword [eax], 0
jne 0x47547b
xor eax, eax
dec eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xe0], eax
mov ecx, ebx
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004e3460
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xf0]
mov dword [edx], eax
mov ecx, dword [ebx]
mov ecx, dword [ecx]
test ecx, ecx
je 0x47546c
mov eax, dword [ebp - 0xec]
mov dword [eax], ecx
mov eax, dword [edx]
push eax
push dword [edi + 0x40]
call fcn.004c6bd0
add esp, 8
inc dword [edi + 0x44]
lea ecx, [ebp - 0x14]
call fcn.00559660
mov esi, dword [ebp - 0x14]
cmp esi, dword [ebp - 0x100]
jne 0x4753ea
lea ecx, [edi + 0x48]
push dword [ebp + 0x20]
call fcn.004ca340
xor eax, eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
sub ecx, ebx
mov eax, esi
sub eax, ebx
jne 0x475617
mov ecx, edi
add ecx, 0x60
mov edx, dword [ebp - 0xe8]
cmp byte [edx + 0xb], 0
js 0x475599
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [edx]
movsd qword [ecx], xmm0
mov al, byte [ebp + 0x28]
mov edx, dword [ebp - 0xf4]
mov dword [edi + 0x6c], 0x5d3530
mov ecx, dword [ebp - 0xf8]
mov dword [edi + 0x70], ecx
mov byte [edi + 0x74], 0
mov esp, edx
test al, al
je 0x47555a
xor eax, eax
push eax
push eax
push edi
push 0x565ba0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xe8]
mov esi, eax
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x47552d
cmp eax, esi
je 0x47567c
test eax, eax
jne 0x475668
mov dword [ecx + 0x10], esi
mov bl, 1
test esi, esi
jne 0x475571
push 2
call fcn.004cfe20
add esp, 4
test al, al
jne 0x4755a8
mov dword [0x604c08], 2
xor ebx, ebx
jmp 0x475571
mov dword [ebp - 0xe4], edi
mov eax, dword [ebp - 0xe4]
push eax
call fcn.00475690
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov eax, ebx
add esp, 0xf4
pop esi
pop edi
pop ebx
pop ebp
ret 0x28
push dword [edx + 4]
push dword [edx]
call fcn.00450550
jmp 0x4753ae
push dword [edx + 4]
push dword [edx]
call fcn.00451350
jmp 0x4754e1
call fcn.0055ada0
lea esi, [ebp - 0xe0]
mov ecx, esi
push eax
push 2
push 0x2aa
push str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
call fcn.0055aee0
lea eax, [ebp - 0xd8]
push 0xc
push 0x5dee22
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, esi
call fcn.0055af40
jmp 0x47554c
push 0x138
push str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea esi, [ebp - 0x20]
push esi
call fcn.0056dd80
add esp, 0xc
mov ecx, esi
push str.CreateNamedPipe
call fcn.00566110
mov ecx, esi
call fcn.0056ddb0
jmp 0x4752bd
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
mov dword [ebp - 0xec], ecx
cmp ecx, 0x15555556
jae 0x47567c
lea ecx, [edi + 0x54]
mov dword [ebp - 0xf0], ecx
push eax
call fcn.0050d4fe
add esp, 4
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov edx, dword [ebp - 0xec]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*4]
mov dword [edi + 0x5c], eax
mov ecx, dword [ebp - 0xf0]
push edx
push esi
push ebx
call fcn.0053f4c0
jmp 0x4754be
push eax
call fcn.00492d70
mov ecx, dword [ebp - 0xe8]
add esp, 4
jmp 0x475535
call fcn.00522670
int3