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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [ebp + 0xc]
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [esp + 0xe8], eax
xor esi, esi
push esi
call fcn.005879f0
add esp, 4
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x70]
movdqa xmmword [ecx + 0x60], xmm0
movdqa xmmword [ecx + 0x50], xmm0
movdqa xmmword [ecx + 0x40], xmm0
movdqa xmmword [ecx + 0x30], xmm0
movdqa xmmword [ecx + 0x20], xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
push esi
push esi
mov esi, edi
call fcn.0058c4b0
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [edi]
mov ebx, dword [eax + 0x48]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
test eax, eax
je 0x495d4c
xor eax, eax
dec eax
mov edi, esi
lea esi, [esp + 0x34]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [edi]
mov ebx, dword [eax + 0x2c]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push esi
call ebx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], ecx
cmp eax, ecx
je 0x495ccc
mov dword [esp + 8], eax
mov ebx, dword [eax]
xor eax, eax
dec eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x34]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
lea eax, [esp + 0x28]
push eax
call esi
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
cmp esi, ebx
je 0x495be8
push str.ActivityTrackerLocation
call fcn.0052a620
add esp, 4
movzx edx, byte [esi + 0xb]
mov ecx, esi
test dl, dl
jns 0x495b1a
mov ecx, dword [esi]
mov edx, dword [esi + 4]
test edx, edx
je 0x495b26
test ecx, ecx
je 0x4960f6
cmp edx, eax
jne 0x495bd5
test edx, edx
je 0x495b48
push eax
push str.ActivityTrackerLocation
push ecx
call fcn.0050f92d
add esp, 0xc
test eax, eax
sete al
jmp 0x495b4a
mov al, 1
test al, al
je 0x495bd5
movzx eax, word [esi + 0xc]
cmp eax, 0x8bab
jne 0x495bd5
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
sub ecx, eax
cmp ecx, 0x10
jne 0x495bd5
mov edx, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov ecx, 0x200000
cmp ecx, edi
mov ecx, 0
mov dword [esp + 0x10], edx
sbb ecx, edx
jb 0x495bd5
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x6c], 0
lea eax, [esp + 0x6c]
push eax
push edi
call fcn.00468640
add esp, 8
test al, al
je 0x495bd5
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x495bd5
push 1
push 0
push edi
mov dword [esp + 0x18], eax
push eax
call fcn.005669d0
add esp, 0x10
test al, al
jne 0x495c39
push dword [esp + 0xc]
call fcn.004dfe00
add esp, 4
add esi, 0x1c
cmp esi, ebx
jne 0x495afe
mov al, 1
mov esi, dword [esp + 0x28]
jmp 0x495bea
mov al, 1
test esi, esi
je 0x495c1b
mov edi, eax
mov ebx, dword [esp + 0x2c]
mov eax, esi
cmp ebx, esi
je 0x495c0c
add ebx, 0xffffffe4
mov ecx, ebx
call fcn.00590e40
cmp ebx, esi
jne 0x495bfa
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
push eax
call fcn.0050d52e
add esp, 4
mov eax, edi
test al, al
je 0x495cd4
mov eax, dword [esp + 8]
add eax, 4
cmp eax, dword [esp + 0x14]
jne 0x495ac3
jmp 0x495ccc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov esi, dword [eax + 0x48]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
mov ecx, eax
push dword [esp + 0xc]
push dword [esp + 0x14]
push edi
push dword [esp + 0x24]
push dword [esp + 0x2c]
call fcn.0058f480
test al, al
je 0x495cb1
push 0x28
call fcn.0050d4fe
add esp, 4
mov ebx, eax
xor eax, eax
mov ecx, ebx
push 1
push eax
push 0x5d5d6d
push eax
push eax
push eax
push edi
push dword [esp + 0x28]
call fcn.00566a20
mov dword [ebx], 0x5d2b7c
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0058fb10
xor eax, eax
add esp, 8
jmp 0x495be2
mov dword [esp + 0x20], 0
push dword [esp + 0xc]
call fcn.004dfe00
add esp, 4
xor eax, eax
jmp 0x495be2
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x495ce9
mov dword [esp + 0x38], eax
push eax
call fcn.0050d52e
add esp, 4
cmp dword [esp + 0x20], 0
mov esi, dword [ebp + 0xc]
je 0x495d67
push 7
call fcn.005879f0
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test eax, eax
je 0x495d56
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x70]
push ecx
push eax
call fcn.004b2830
add esp, 8
mov esi, eax
push 0xb
push eax
push str.ActivityTracker.CollectCrash.Status
call fcn.004d4710
add esp, 0xc
cmp esi, 1
jne 0x495d71
push 3
call fcn.005879f0
add esp, 4
mov al, 1
mov dword [esp + 8], eax
jmp 0x495d79
mov dword [esp + 0x20], 0
jmp 0x495d67
push 0xb
push 2
push str.ActivityTracker.CollectCrash.Status
call fcn.004d4710
add esp, 0xc
mov dword [esp + 8], 0
jmp 0x495d7c
mov dword [esp + 8], 0
mov esi, dword [ebp + 0xc]
pxor xmm0, xmm0
lea ecx, [esp + 0x34]
movdqu xmmword [ecx + 0x24], xmm0
movdqu xmmword [ecx + 0x14], xmm0
movdqu xmmword [ecx + 4], xmm0
mov dword [ecx + 0x34], 0
mov eax, 0x38
mov dword [ecx], eax
push eax
push ecx
call sub.KERNEL32.dll_K32GetPerformanceInfo
test eax, eax
je 0x495e3e
or byte [esp + 0x78], 2
mov edi, dword [esp + 0xcc]
test edi, edi
jne 0x495de2
mov ecx, dword [esp + 0x74]
mov eax, ecx
and eax, 0xfffffffc
test cl, 1
je 0x495dd0
mov eax, dword [eax]
push eax
call fcn.0058d060
add esp, 4
mov edi, eax
mov dword [esp + 0xcc], eax
mov ebx, esi
or byte [edi + 8], 1
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x495e0a
mov ecx, dword [edi + 4]
mov eax, ecx
and eax, 0xfffffffc
test cl, 1
je 0x495dfe
mov eax, dword [eax]
push eax
call fcn.0058d010
add esp, 4
mov dword [edi + 0x10], eax
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
mov esi, ecx
or esi, 1
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x38]
mov esi, ecx
or esi, 3
mov dword [eax + 8], esi
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x60]
or ecx, 7
mov dword [eax + 8], ecx
mov dword [eax + 0x18], edx
mov esi, ebx
mov eax, dword [esi]
mov edi, esi
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
test eax, eax
je 0x49601a
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x84]
test ecx, ecx
jle 0x495ea8
xor edx, edx
mov edi, dword [esp + 0x8c]
mov ebx, dword [edi + edx*4 + 4]
mov eax, dword [ebx + 8]
test al, 2
je 0x495e9d
mov esi, dword [ebx + 0x50]
xor esi, dword [esp + 0x10]
or esi, dword [ebx + 0x54]
je 0x495ea4
inc edx
cmp ecx, edx
jne 0x495e86
jmp 0x495ea8
test ebx, ebx
jne 0x495ecd
xor edi, edi
lea ecx, [esp + 0x80]
push 0
call fcn.00578e60
mov ebx, eax
mov eax, dword [eax + 8]
or eax, 2
mov dword [ebx + 8], eax
mov dword [ebx + 0x54], edi
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x50], ecx
or eax, 1
mov dword [ebx + 8], eax
mov edi, dword [ebx + 0x48]
test edi, edi
jne 0x495ef7
mov ecx, dword [ebx + 4]
mov eax, ecx
and eax, 0xfffffffc
test cl, 1
je 0x495ee9
mov eax, dword [eax]
push eax
call fcn.0058cee0
add esp, 4
mov edi, eax
mov dword [ebx + 0x48], eax
or byte [edi + 8], 1
mov ebx, dword [edi + 0x10]
test ebx, ebx
jne 0x495f1f
mov ecx, dword [edi + 4]
mov eax, ecx
and eax, 0xfffffffc
test cl, 1
je 0x495f11
mov eax, dword [eax]
push eax
call fcn.0058cea0
add esp, 4
mov ebx, eax
mov dword [edi + 0x10], eax
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
cmp eax, 0xe0000008
jne 0x495f5c
mov eax, dword [esi]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov ecx, dword [eax]
cmp dword [eax + 4], ecx
je 0x495f5c
mov eax, dword [ecx]
or dword [ebx + 8], 8
mov dword [ebx + 0x1c], eax
xor eax, eax
dec eax
lea edi, [esp + 0x28]
mov dword [edi + 4], eax
mov dword [edi], eax
push 0x1010
push dword [esp + 0x14]
push edi
call fcn.00561bb0
add esp, 0xc
mov ecx, edi
call fcn.004df9c0
test al, al
je 0x496011
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0x48], xmm0
movdqu xmmword [esp + 0x38], xmm0
mov esi, 0x2c
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x28]
call fcn.004687a0
push esi
lea ecx, [esp + 0x38]
push ecx
push eax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x495fe7
mov eax, dword [esp + 0x5c]
shr eax, 0xc
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x3c]
shr eax, 0xc
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x58]
shr eax, 0xc
or dword [ebx + 8], 7
mov dword [ebx + 0x18], eax
lea esi, [esp + 0x6c]
mov dword [esi], 0
lea ecx, [esp + 0x28]
call fcn.004687a0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
test eax, eax
je 0x496011
mov eax, dword [esp + 0x6c]
or dword [ebx + 8], 0x10
mov dword [ebx + 0x20], eax
lea ecx, [esp + 0x28]
call fcn.004df8e0
mov esi, dword [ebp + 8]
push 0x14
call fcn.0050d4fe
add esp, 4
mov edi, eax
mov ecx, eax
push 0x4b6b0002
call fcn.005911e0
mov dword [edi], fcn.00578ea0
lea ebx, [edi + 8]
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
lea ecx, [esp + 0x70]
push ebx
call fcn.00472bc0
test al, al
je 0x49606c
cmp byte [esp + 8], 0
je 0x496068
push 6
call fcn.005879f0
add esp, 4
mov dword [esi], edi
jmp 0x4960b3
cmp byte [edi + 0x13], 0
js 0x49607c
xor eax, eax
mov byte [edi + 8], al
mov byte [edi + 0x13], al
jmp 0x496089
mov eax, dword [edi + 8]
mov byte [eax], 0
mov dword [edi + 0xc], 0
mov dword [esi], 0
test edi, edi
je 0x4960b3
cmp byte [edi + 0x13], 0
jns 0x4960a3
push dword [ebx]
call fcn.0050d52e
add esp, 4
mov ecx, edi
call fcn.0053fd00
push edi
call fcn.0050d52e
add esp, 4
mov edi, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test edi, edi
je 0x4960d3
mov ecx, edi
call fcn.0058faa0
push edi
call fcn.0050d52e
add esp, 4
lea ecx, [esp + 0x70]
call fcn.004b13f0
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.0050db32
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
push str.string_view::string_view__CharT___size_t_:_received_nullptr
push str.__len__0____s___nullptr
push 0x129
push str....._buildtools_third_partylibc_trunkinclude_string_view
push str._s:_d:_assertion__s_failed:__s
call fcn.0053ff10
int3