Function at 0x46f930
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 [0x591014]
xor eax, ebp
mov dword [esp + 0xe8], eax
xor esi, esi
push esi
call fcn.0052aa30
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.0052f4f0
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 0x46fc72
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 + 0x18], ecx
cmp eax, ecx
je 0x46fbf2
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 0x46fb0e
push str.ActivityTrackerLocation
call fcn.004e24d0
add esp, 4
movzx ecx, byte [esi + 0xb]
test cl, cl
jns 0x46fa38
mov edx, dword [esi + 4]
jmp 0x46fa3d
mov edx, ecx
and edx, 0x7f
cmp eax, edx
jne 0x46fafb
mov dl, 1
test eax, eax
je 0x46fa70
cmp eax, 0xffffffff
je 0x47001c
mov edx, esi
test cl, cl
jns 0x46fa5c
mov edx, dword [esi]
push eax
push str.ActivityTrackerLocation
push edx
call fcn.004c7edd
add esp, 0xc
test eax, eax
sete dl
test dl, dl
je 0x46fafb
movzx eax, word [esi + 0xc]
cmp eax, 0x8bab
jne 0x46fafb
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
sub ecx, eax
cmp ecx, 0x10
jne 0x46fafb
mov edx, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov ecx, 0x200000
cmp ecx, edi
mov ecx, 0
mov dword [esp + 0xc], edx
sbb ecx, edx
jb 0x46fafb
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x6c], 0
lea eax, [esp + 0x6c]
push eax
push edi
call fcn.0046dbe0
add esp, 8
test al, al
je 0x46fafb
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x46fafb
push 1
push 0
push edi
mov dword [esp + 0x1c], eax
push eax
call fcn.005138b0
add esp, 0x10
test al, al
jne 0x46fb5f
push dword [esp + 0x10]
call fcn.004ab100
add esp, 4
add esi, 0x1c
cmp esi, ebx
jne 0x46fa1e
mov al, 1
mov esi, dword [esp + 0x28]
jmp 0x46fb10
mov al, 1
test esi, esi
je 0x46fb41
mov edi, eax
mov ebx, dword [esp + 0x2c]
mov eax, esi
cmp ebx, esi
je 0x46fb32
add ebx, 0xffffffe4
mov ecx, ebx
call fcn.00533f00
cmp ebx, esi
jne 0x46fb20
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
push eax
call fcn.004c5c98
add esp, 4
mov eax, edi
test al, al
je 0x46fbfa
mov eax, dword [esp + 8]
add eax, 4
cmp eax, dword [esp + 0x18]
jne 0x46f9e3
jmp 0x46fbf2
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 + 0x10]
push dword [esp + 0x10]
push edi
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.005325b0
test al, al
je 0x46fbd7
push 0x28
call fcn.004c5c68
add esp, 4
mov ebx, eax
xor eax, eax
mov ecx, ebx
push 1
push eax
push 0x577ff1
push eax
push eax
push eax
push edi
push dword [esp + 0x2c]
call fcn.00513900
mov dword [ebx], 0x576304
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00532c20
xor eax, eax
add esp, 8
jmp 0x46fb08
mov dword [esp + 0x20], 0
push dword [esp + 0x10]
call fcn.004ab100
add esp, 4
xor eax, eax
jmp 0x46fb08
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x46fc0f
mov dword [esp + 0x38], eax
push eax
call fcn.004c5c98
add esp, 4
cmp dword [esp + 0x20], 0
mov esi, dword [ebp + 0xc]
je 0x46fc8d
push 7
call fcn.0052aa30
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test eax, eax
je 0x46fc7c
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x70]
push ecx
push eax
call fcn.00484070
add esp, 8
mov esi, eax
push 0xb
push eax
push str.ActivityTracker.CollectCrash.Status
call fcn.004a5b30
add esp, 0xc
cmp esi, 1
jne 0x46fc97
push 3
call fcn.0052aa30
add esp, 4
mov al, 1
mov dword [esp + 8], eax
jmp 0x46fc9f
mov dword [esp + 0x20], 0
jmp 0x46fc8d
push 0xb
push 2
push str.ActivityTracker.CollectCrash.Status
call fcn.004a5b30
add esp, 0xc
mov dword [esp + 8], 0
jmp 0x46fca2
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 0x46fd64
or byte [esp + 0x78], 2
mov edi, dword [esp + 0xcc]
test edi, edi
jne 0x46fd08
mov ecx, dword [esp + 0x74]
mov eax, ecx
and eax, 0xfffffffc
test cl, 1
je 0x46fcf6
mov eax, dword [eax]
push eax
call fcn.005300a0
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 0x46fd30
mov ecx, dword [edi + 4]
mov eax, ecx
and eax, 0xfffffffc
test cl, 1
je 0x46fd24
mov eax, dword [eax]
push eax
call fcn.00530050
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 0x46ff40
mov dword [esp + 0x14], 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 + 0xc], eax
mov ecx, dword [esp + 0x84]
test ecx, ecx
jle 0x46fdce
xor edx, edx
mov edi, dword [esp + 0x8c]
mov ebx, dword [edi + edx*4 + 4]
mov eax, dword [ebx + 8]
test al, 2
je 0x46fdc3
mov esi, dword [ebx + 0x50]
xor esi, dword [esp + 0xc]
or esi, dword [ebx + 0x54]
je 0x46fdca
inc edx
cmp ecx, edx
jne 0x46fdac
jmp 0x46fdce
test ebx, ebx
jne 0x46fdf3
xor edi, edi
lea ecx, [esp + 0x80]
push 0
call fcn.0051e1d0
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 + 0xc]
mov dword [ebx + 0x50], ecx
or eax, 1
mov dword [ebx + 8], eax
mov edi, dword [ebx + 0x48]
test edi, edi
jne 0x46fe1d
mov ecx, dword [ebx + 4]
mov eax, ecx
and eax, 0xfffffffc
test cl, 1
je 0x46fe0f
mov eax, dword [eax]
push eax
call fcn.0052ff20
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 0x46fe45
mov ecx, dword [edi + 4]
mov eax, ecx
and eax, 0xfffffffc
test cl, 1
je 0x46fe37
mov eax, dword [eax]
push eax
call fcn.0052fee0
add esp, 4
mov ebx, eax
mov dword [edi + 0x10], eax
mov esi, dword [esp + 0x14]
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 0x46fe82
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 0x46fe82
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 + 0x10]
push edi
call fcn.0050fd70
add esp, 0xc
mov ecx, edi
call fcn.004aafd0
test al, al
je 0x46ff37
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.004550c0
push esi
lea ecx, [esp + 0x38]
push ecx
push eax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x46ff0d
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.004550c0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
test eax, eax
je 0x46ff37
mov eax, dword [esp + 0x6c]
or dword [ebx + 8], 0x10
mov dword [ebx + 0x20], eax
lea ecx, [esp + 0x28]
call fcn.004aaef0
mov esi, dword [ebp + 8]
push 0x14
call fcn.004c5c68
add esp, 4
mov edi, eax
mov ecx, eax
push 0x4b6b0002
call fcn.005342a0
mov dword [edi], fcn.0051e210
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.0045aa30
test al, al
je 0x46ff92
cmp byte [esp + 8], 0
je 0x46ff8e
push 6
call fcn.0052aa30
add esp, 4
mov dword [esi], edi
jmp 0x46ffd9
cmp byte [edi + 0x13], 0
js 0x46ffa2
xor eax, eax
mov byte [edi + 8], al
mov byte [edi + 0x13], al
jmp 0x46ffaf
mov eax, dword [edi + 8]
mov byte [eax], 0
mov dword [edi + 0xc], 0
mov dword [esi], 0
test edi, edi
je 0x46ffd9
cmp byte [edi + 0x13], 0
jns 0x46ffc9
push dword [ebx]
call fcn.004c5c98
add esp, 4
mov ecx, edi
call fcn.004f7580
push edi
call fcn.004c5c98
add esp, 4
mov edi, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test edi, edi
je 0x46fff9
mov ecx, edi
call fcn.00532bb0
push edi
call fcn.004c5c98
add esp, 4
lea ecx, [esp + 0x70]
call fcn.00482c80
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.004c66e3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.004da990
int3