Function at 0x495af0
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.00587ad0
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.0058c590
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 0x495e2c
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 0x495dac
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 0x495cc8
push str.ActivityTrackerLocation
call fcn.0052a700
add esp, 4
movzx edx, byte [esi + 0xb]
mov ecx, esi
test dl, dl
jns 0x495bfa
mov ecx, dword [esi]
mov edx, dword [esi + 4]
test edx, edx
je 0x495c06
test ecx, ecx
je 0x4961d6
cmp edx, eax
jne 0x495cb5
test edx, edx
je 0x495c28
push eax
push str.ActivityTrackerLocation
push ecx
call fcn.0050fa0d
add esp, 0xc
test eax, eax
sete al
jmp 0x495c2a
mov al, 1
test al, al
je 0x495cb5
movzx eax, word [esi + 0xc]
cmp eax, 0x8bab
jne 0x495cb5
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
sub ecx, eax
cmp ecx, 0x10
jne 0x495cb5
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 0x495cb5
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.00468720
add esp, 8
test al, al
je 0x495cb5
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x495cb5
push 1
push 0
push edi
mov dword [esp + 0x18], eax
push eax
call fcn.00566ab0
add esp, 0x10
test al, al
jne 0x495d19
push dword [esp + 0xc]
call fcn.004dfee0
add esp, 4
add esi, 0x1c
cmp esi, ebx
jne 0x495bde
mov al, 1
mov esi, dword [esp + 0x28]
jmp 0x495cca
mov al, 1
test esi, esi
je 0x495cfb
mov edi, eax
mov ebx, dword [esp + 0x2c]
mov eax, esi
cmp ebx, esi
je 0x495cec
add ebx, 0xffffffe4
mov ecx, ebx
call fcn.00590f20
cmp ebx, esi
jne 0x495cda
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
push eax
call fcn.0050d60e
add esp, 4
mov eax, edi
test al, al
je 0x495db4
mov eax, dword [esp + 8]
add eax, 4
cmp eax, dword [esp + 0x14]
jne 0x495ba3
jmp 0x495dac
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.0058f560
test al, al
je 0x495d91
push 0x28
call fcn.0050d5de
add esp, 4
mov ebx, eax
xor eax, eax
mov ecx, ebx
push 1
push eax
push 0x5d5dad
push eax
push eax
push eax
push edi
push dword [esp + 0x28]
call fcn.00566b00
mov dword [ebx], 0x5d2b7c
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0058fbf0
xor eax, eax
add esp, 8
jmp 0x495cc2
mov dword [esp + 0x20], 0
push dword [esp + 0xc]
call fcn.004dfee0
add esp, 4
xor eax, eax
jmp 0x495cc2
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x495dc9
mov dword [esp + 0x38], eax
push eax
call fcn.0050d60e
add esp, 4
cmp dword [esp + 0x20], 0
mov esi, dword [ebp + 0xc]
je 0x495e47
push 7
call fcn.00587ad0
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test eax, eax
je 0x495e36
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x70]
push ecx
push eax
call fcn.004b2910
add esp, 8
mov esi, eax
push 0xb
push eax
push str.ActivityTracker.CollectCrash.Status
call fcn.004d47f0
add esp, 0xc
cmp esi, 1
jne 0x495e51
push 3
call fcn.00587ad0
add esp, 4
mov al, 1
mov dword [esp + 8], eax
jmp 0x495e59
mov dword [esp + 0x20], 0
jmp 0x495e47
push 0xb
push 2
push str.ActivityTracker.CollectCrash.Status
call fcn.004d47f0
add esp, 0xc
mov dword [esp + 8], 0
jmp 0x495e5c
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 0x495f1e
or byte [esp + 0x78], 2
mov edi, dword [esp + 0xcc]
test edi, edi
jne 0x495ec2
mov ecx, dword [esp + 0x74]
mov eax, ecx
and eax, 0xfffffffc
test cl, 1
je 0x495eb0
mov eax, dword [eax]
push eax
call fcn.0058d140
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 0x495eea
mov ecx, dword [edi + 4]
mov eax, ecx
and eax, 0xfffffffc
test cl, 1
je 0x495ede
mov eax, dword [eax]
push eax
call fcn.0058d0f0
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 0x4960fa
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 0x495f88
xor edx, edx
mov edi, dword [esp + 0x8c]
mov ebx, dword [edi + edx*4 + 4]
mov eax, dword [ebx + 8]
test al, 2
je 0x495f7d
mov esi, dword [ebx + 0x50]
xor esi, dword [esp + 0x10]
or esi, dword [ebx + 0x54]
je 0x495f84
inc edx
cmp ecx, edx
jne 0x495f66
jmp 0x495f88
test ebx, ebx
jne 0x495fad
xor edi, edi
lea ecx, [esp + 0x80]
push 0
call fcn.00578f40
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 0x495fd7
mov ecx, dword [ebx + 4]
mov eax, ecx
and eax, 0xfffffffc
test cl, 1
je 0x495fc9
mov eax, dword [eax]
push eax
call fcn.0058cfc0
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 0x495fff
mov ecx, dword [edi + 4]
mov eax, ecx
and eax, 0xfffffffc
test cl, 1
je 0x495ff1
mov eax, dword [eax]
push eax
call fcn.0058cf80
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 0x49603c
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 0x49603c
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.00561c90
add esp, 0xc
mov ecx, edi
call fcn.004dfaa0
test al, al
je 0x4960f1
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.00468880
push esi
lea ecx, [esp + 0x38]
push ecx
push eax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x4960c7
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.00468880
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
test eax, eax
je 0x4960f1
mov eax, dword [esp + 0x6c]
or dword [ebx + 8], 0x10
mov dword [ebx + 0x20], eax
lea ecx, [esp + 0x28]
call fcn.004df9c0
mov esi, dword [ebp + 8]
push 0x14
call fcn.0050d5de
add esp, 4
mov edi, eax
mov ecx, eax
push 0x4b6b0002
call fcn.005912c0
mov dword [edi], fcn.00578f80
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.00472d40
test al, al
je 0x49614c
cmp byte [esp + 8], 0
je 0x496148
push 6
call fcn.00587ad0
add esp, 4
mov dword [esi], edi
jmp 0x496193
cmp byte [edi + 0x13], 0
js 0x49615c
xor eax, eax
mov byte [edi + 8], al
mov byte [edi + 0x13], al
jmp 0x496169
mov eax, dword [edi + 8]
mov byte [eax], 0
mov dword [edi + 0xc], 0
mov dword [esi], 0
test edi, edi
je 0x496193
cmp byte [edi + 0x13], 0
jns 0x496183
push dword [ebx]
call fcn.0050d60e
add esp, 4
mov ecx, edi
call fcn.0053fde0
push edi
call fcn.0050d60e
add esp, 4
mov edi, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test edi, edi
je 0x4961b3
mov ecx, edi
call fcn.0058fb80
push edi
call fcn.0050d60e
add esp, 4
lea ecx, [esp + 0x70]
call fcn.004b14d0
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.0050dc12
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.0053fff0
int3